2022-02-08 15:48:07 +00:00
|
|
|
name: DeSmuME Windows build
|
|
|
|
|
|
|
|
on:
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-sln:
|
2024-07-11 15:38:52 +00:00
|
|
|
runs-on: windows-2022
|
2022-02-08 15:48:07 +00:00
|
|
|
|
|
|
|
steps:
|
2024-07-11 15:38:52 +00:00
|
|
|
- uses: actions/checkout@v4
|
2022-02-08 15:48:07 +00:00
|
|
|
|
|
|
|
- name: Setup MSBuild.exe
|
2024-07-11 15:38:52 +00:00
|
|
|
uses: microsoft/setup-msbuild@v2
|
2022-02-08 15:48:07 +00:00
|
|
|
with:
|
|
|
|
msbuild-architecture: x64
|
|
|
|
|
|
|
|
- name: Build solution
|
|
|
|
run: |
|
|
|
|
SET CL=-Wno-c++11-narrowing
|
|
|
|
msbuild 'desmume/src/frontend/windows/DeSmuME.sln' /p:configuration="Release" /p:platform=x64 /p:CL_cgthreads=1 /p:CLToolExe=clang-cl.exe
|
|
|
|
cmd /c desmume\src\frontend\windows\ci_postbuild.bat
|
|
|
|
|
|
|
|
- name: Upload artifact
|
2024-07-11 15:38:52 +00:00
|
|
|
uses: actions/upload-artifact@v4
|
2022-02-08 15:48:07 +00:00
|
|
|
with:
|
|
|
|
name: desmume-win-x64
|
|
|
|
path: desmume/src/frontend/windows/__bins/*.exe
|
|
|
|
|