diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6fad03c03..1f0d7e282 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,11 +7,11 @@ on: jobs: build: name: Build DeSmuME (Linux) - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 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 libgtk-3-dev @@ -26,11 +26,11 @@ jobs: build_gtk2: name: Build DeSmuME (Linux/GTK+2) - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: install dependencies run: sudo apt update && sudo apt install autoconf libglu1-mesa-dev libsdl2-dev libpcap-dev libgtk2.0-dev @@ -49,18 +49,18 @@ jobs: tar cJf DeSmuME.tar.xz DeSmuME/ - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: desmume-linux-gtk2-cli-x86_64 path: /tmp/DeSmuME.tar.xz build_macos: name: Build DeSmuME (macOS) - runs-on: macOS-11 + runs-on: macos-14 steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: xcodebuild run: | @@ -73,7 +73,7 @@ jobs: 7z a DeSmuME.app.zip DeSmuME.app - name: Upload artifict - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: macos path: desmume/src/frontend/cocoa/desmume.xcarchive/Products/Applications/DeSmuME.app.zip diff --git a/.github/workflows/build_interface.yml b/.github/workflows/build_interface.yml index a45a514a4..e86ca8f61 100644 --- a/.github/workflows/build_interface.yml +++ b/.github/workflows/build_interface.yml @@ -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,13 +54,13 @@ 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 @@ -68,10 +68,12 @@ jobs: arch: [ 'x64', 'x86' ] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Add msbuild to PATH - uses: microsoft/setup-msbuild@v1.0.2 + uses: microsoft/setup-msbuild@v2 + with: + msbuild-architecture: ${{ matrix.arch }} - name: Build run: | @@ -79,7 +81,7 @@ jobs: 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 diff --git a/.github/workflows/build_win.yml b/.github/workflows/build_win.yml index c2a698524..3b07c6d2e 100644 --- a/.github/workflows/build_win.yml +++ b/.github/workflows/build_win.yml @@ -6,16 +6,15 @@ on: jobs: build-sln: - runs-on: windows-2019 + runs-on: windows-2022 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup MSBuild.exe - uses: microsoft/setup-msbuild@v1.1 + uses: microsoft/setup-msbuild@v2 with: msbuild-architecture: x64 - vs-version: 16.1 - name: Build solution run: | @@ -24,7 +23,7 @@ jobs: cmd /c desmume\src\frontend\windows\ci_postbuild.bat - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: desmume-win-x64 path: desmume/src/frontend/windows/__bins/*.exe