Skip to content

32-bit artiffact directory is Win32 #3

32-bit artiffact directory is Win32

32-bit artiffact directory is Win32 #3

Workflow file for this run

name: NSFPlay 3 Builds
on:
push:
branches: [ "nsfplay3" ]
pull_request:
branches: [ "nsfplay3" ]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-win64-msvc:
name: Windows 64-bit MSVC
runs-on: windows-latest
steps:
- name: Checkout Files
uses: actions/checkout@v4
- name: Setup MSVC
uses: microsoft/setup-msbuild@v2
- name: Build MSVC
run: msbuild nsfplay.sln -t:rebuild -property:Configuration=Release -property:Platform=x64
- name: Prepare Artifact
shell: pwsh
run: |
mkdir artifact
cp nsfplay.txt artifact
cp output/x64/Release/nsfplay.exe artifact
cp output/x64/Release/nsfplaycmd.exe artifact
cp output/x64/Release/nsfplug.dll artifact
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: nsfplay3-win64-msvc--${{ env.BUILD_TAG }}
path: artifact/
build-win32-msvc:
name: Windows 32-bit MSVC
runs-on: windows-latest
steps:
- name: Checkout Files
uses: actions/checkout@v4
- name: Setup MSVC
uses: microsoft/setup-msbuild@v2
- name: Build MSVC
run: msbuild nsfplay.sln -t:rebuild -property:Configuration=Release -property:Platform=x86
- name: Prepare Artifact
shell: pwsh
run: |
mkdir artifact
cp nsfplay.txt artifact
cp output/Win32/Release/nsfplay.exe artifact
cp output/Win32/Release/nsfplaycmd.exe artifact
cp output/Win32/Release/nsfplug.dll artifact
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: nsfplay3-win32-msvc--${{ env.BUILD_TAG }}
path: artifact/
build-win64-msys2:
name: Windows 64-bit MSYS2
runs-on: windows-latest
steps:
- name: Checkout Files
uses: actions/checkout@v4
- name: Setup MSYS2
uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
install: make mingw-w64-ucrt-x86_64-gcc
- name: Build Make
shell: msys2 {0}
run: |
make
- name: Prepare Artifact
shell: pwsh
run: |
mkdir artifact
cp nsfplay.txt artifact
cp output/make/nsfplay.exe artifact
cp output/make/nsfplaycmd.exe artifact
cp output/make/nsfplug.dll artifact
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: nsfplay3-win64-msys2--${{ env.BUILD_TAG }}
path: artifact/