-
Notifications
You must be signed in to change notification settings - Fork 551
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update macOS version in build_interface.yml * Typo fixes in build_interface.yml * build.yml: Update runner images * build.yml: Update deprecated actions * build_interface.yml: Update runner images * build_interface.yml: Update deprecated actions * build_interface.yml: Remove unnecessary packages from macOS "brew install" line to address warnings * build_win.yml: Update runner image + remove vs-version parameter from setup-msbuild action * build_win.yml: Update deprecated actions
- Loading branch information
Showing
3 changed files
with
25 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,11 +6,11 @@ on: | |
|
||
jobs: | ||
build_linux: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-24.04 | ||
name: Build Linux | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install dependencies | ||
run: sudo apt update && sudo apt install meson libsdl2-dev libpcap-dev | ||
|
@@ -24,20 +24,20 @@ jobs: | |
run: ninja -C desmume/src/frontend/interface/build | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: linux | ||
path: desmume/src/frontend/interface/build/libdesmume.so | ||
|
||
build_macos: | ||
runs-on: macos-12 | ||
runs-on: macos-14 | ||
name: Build MacOS | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install MacOS build deps | ||
run: brew install coreutils gcc sdl2 meson glib | ||
run: brew install coreutils sdl2 meson | ||
|
||
- name: Build - Meson | ||
run: | | ||
|
@@ -54,32 +54,34 @@ jobs: | |
CXX: clang++ | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: macos | ||
path: desmume/src/frontend/interface/build/libdesmume.dylib | ||
|
||
build_windows: | ||
runs-on: windows-2019 | ||
runs-on: windows-2022 | ||
name: Build Windows | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
arch: [ 'x64', 'x86' ] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
uses: microsoft/setup-msbuild@v2 | ||
with: | ||
msbuild-architecture: ${{ matrix.arch }} | ||
|
||
- name: Build | ||
run: | | ||
cd desmume\src\frontend\interface\windows | ||
MSBuild.exe DeSmuME_Interface.vcxproj /p:configuration="Release Fastbuild" /p:Platform=${{ matrix.arch }} | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: win-${{ matrix.arch }} | ||
path: desmume/src/frontend/interface/windows/__bins/*.dll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters