Skip to content

Commit bc02d45

Browse files
authored
Github Actions CI (#83)
1 parent f069b8a commit bc02d45

File tree

4 files changed

+37
-4
lines changed

4 files changed

+37
-4
lines changed

.github/funding.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
patreon: rainwarrior

.github/workflows/build.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: NSFPlay Builds
2+
on:
3+
push:
4+
branches: [ "master" ]
5+
pull_request:
6+
branches: [ "master" ]
7+
workflow_dispatch:
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
build-win32:
14+
name: NSFPlay Windows 32-bit
15+
runs-on: windows-2019
16+
steps:
17+
- name: Checkout Files
18+
uses: actions/checkout@v4
19+
- name: Setup MSVC
20+
uses: microsoft/setup-msbuild@v2
21+
- name: Build
22+
run: msbuild nsfplay.sln -t:rebuild -property:Configuration=Release -property:Platform=Win32
23+
- name: Prepare Artifacts
24+
shell: pwsh
25+
run: |
26+
./artifact.bat
27+
echo "BUILD_TAG=$(git log -1 --format="%ad--%h" --date=format-local:"%Y-%m-%d-%H%M%S")" >> $env:GITHUB_ENV
28+
- name: Upload Artifact
29+
uses: actions/upload-artifact@v4
30+
with:
31+
name: nsfplay-unstable--${{ env.BUILD_TAG }}
32+
path: artifact/

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ <h1>NSFPlay</h1>
3838

3939
<table align="center"><tr><td><ul>
4040
<li>Stable release: <a href="https://github.com/bbbradsmith/nsfplay/releases/tag/2.6">NSFPlay 2.6</a> 2023-07-03</li>
41-
<li>Unstable preview: <a href="https://ci.appveyor.com/project/bbbradsmith/nsfplay/branch/master/artifacts">Appveyor Artifact</a>
41+
<li>Unstable preview: <a href="https://nightly.link/bbbradsmith/nsfplay/workflows/build/master">Github Actions Artifact</a>
4242
<li>Source code: <a href="https://github.com/bbbradsmith/nsfplay">GitHub Repository</a></li>
4343
</ul></td></tr></table>
4444

@@ -68,7 +68,7 @@ <h1>NSFPlay</h1>
6868
<div class="bottom">
6969
<br/>
7070
<br/>
71-
<p>2023-07-03<br/>
71+
<p>2024-04-14<br/>
7272
<a href="http://rainwarrior.ca">rainwarrior.ca</a></p>
7373
</div>
7474

readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ NSFPlay/NSFPlug source code
33
This code is maintained by Brad Smith. It is a fork of NSFPlay/NSFPlug by Brezza. The latest version should be available at:
44
- https://bbbradsmith.github.io/nsfplay/
55

6-
Unstable preview builds will be automatically generated by Appveyor:
7-
- https://ci.appveyor.com/project/bbbradsmith/nsfplay/branch/master/artifacts
6+
Unstable preview builds will be automatically generated by Github Actions:
7+
- https://nightly.link/bbbradsmith/nsfplay/workflows/build/master
88

99
This code contains several modifications to original, see nsfplay.txt for a list of changes.
1010

0 commit comments

Comments
 (0)