Skip to content

Merge pull request #276 from mkdasher/feature/recompile-next-all #1378

Merge pull request #276 from mkdasher/feature/recompile-next-all

Merge pull request #276 from mkdasher/feature/recompile-next-all #1378

Workflow file for this run

name: MSBuild
on: [ push ]
env:
DUMMY: a
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set VERSION_SUFFIX
shell: powershell
run: |
$VERSION_SUFFIX = "-$(git rev-parse --short HEAD)"
echo "VERSION_SUFFIX=$VERSION_SUFFIX" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8
- name: Display VERSION_SUFFIX
shell: powershell
run: echo "VERSION_SUFFIX is $env:VERSION_SUFFIX"
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Build x86
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild mupen64.sln /p:Configuration=Release /p:Platform=Win32 /m
- name: 'Upload x86 Artifact'
uses: actions/upload-artifact@v4
with:
name: mupen-x86
path: build/Views.Win32/mupen64-x86-release.exe
retention-days: 14
- name: Build x64
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild mupen64.sln /p:Configuration=Release /p:Platform=x64 /m
- name: 'Upload x64 Artifact'
uses: actions/upload-artifact@v4
with:
name: mupen-x64
path: build/Views.Win32/mupen64-x64-release.exe
retention-days: 14