From 0e1e93e8986bbab5914ff828e38dbc5c303f3441 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Thu, 25 Apr 2024 14:03:33 +0200 Subject: [PATCH] Use macos-12 runners for macOS jobs (#21896) See https://github.com/OpenRCT2/OpenRCT2/issues/21895 --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16296d0174..1b92fb95e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -190,7 +190,7 @@ jobs: if-no-files-found: error macos-cmake: name: macOS (${{ matrix.arch }}) using CMake - runs-on: macos-latest + runs-on: macos-12 needs: check-code-formatting strategy: fail-fast: false @@ -200,7 +200,8 @@ jobs: - arch: x64 cache_key: macos-x64 # Note: only build/run tests on the native architecture of the CI agent - # GitHub macos-latest agents are currently all Intel + # GitHub macos-12 agents are all Intel, but as of 2024-04-25 new images, e.g. macos-14 (current macos-latest) are arm64 + # See https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories build_flags: -DARCH="x86_64" -DWITH_TESTS=on run_tests: true - arch: arm64 @@ -248,7 +249,7 @@ jobs: if: ${{matrix.run_tests}} macos-universal: name: macOS universal app bundle - runs-on: macos-latest + runs-on: macos-12 needs: macos-cmake steps: - name: Checkout