Skip to content

fix contrib build on linux and macos (nsf2wav, nsfmeta), add contrib to github workflow #99

fix contrib build on linux and macos (nsf2wav, nsfmeta), add contrib to github workflow

fix contrib build on linux and macos (nsf2wav, nsfmeta), add contrib to github workflow #99

Workflow file for this run

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/
build-contrib-windown:
name: Contrib Windows
runs-on: windows-2019
steps:
- name: Checkout Files
uses: actions/checkout@v4
- name: Build
run: make -C contrib
build-contrib-ubuntu:
name: Contrib Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout Files
uses: actions/checkout@v4
- name: Build
run: make -C contrib
build-contrib-macos:
name: Contrib macOS
runs-on: macos-latest
steps:
- name: Checkout Files
uses: actions/checkout@v4
- name: Build
run: make -C contrib