Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Actions CI #83

Merged
merged 2 commits into from
Apr 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/funding.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
patreon: rainwarrior
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: NSFPlay Builds
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build-win32:
name: NSFPlay Windows 32-bit
runs-on: windows-2019
steps:
- name: Checkout Files
uses: actions/checkout@v4
- name: Setup MSVC
uses: microsoft/setup-msbuild@v2
- name: Build
run: msbuild nsfplay.sln -t:rebuild -property:Configuration=Release -property:Platform=Win32
- name: Prepare Artifacts
shell: pwsh
run: |
./artifact.bat
echo "BUILD_TAG=$(git log -1 --format="%ad--%h" --date=format-local:"%Y-%m-%d-%H%M%S")" >> $env:GITHUB_ENV
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: nsfplay-unstable--${{ env.BUILD_TAG }}
path: artifact/
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h1>NSFPlay</h1>

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

Expand Down Expand Up @@ -68,7 +68,7 @@ <h1>NSFPlay</h1>
<div class="bottom">
<br/>
<br/>
<p>2023-07-03<br/>
<p>2024-04-14<br/>
<a href="http://rainwarrior.ca">rainwarrior.ca</a></p>
</div>

Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ NSFPlay/NSFPlug source code
This code is maintained by Brad Smith. It is a fork of NSFPlay/NSFPlug by Brezza. The latest version should be available at:
- https://bbbradsmith.github.io/nsfplay/

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

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

Expand Down