Use macos-12 runners for macOS jobs (#21896)

See https://github.com/OpenRCT2/OpenRCT2/issues/21895
This commit is contained in:
Michał Janiszewski 2024-04-25 14:03:33 +02:00 committed by GitHub
parent bc06ffce8b
commit 0e1e93e898
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -190,7 +190,7 @@ jobs:
if-no-files-found: error if-no-files-found: error
macos-cmake: macos-cmake:
name: macOS (${{ matrix.arch }}) using CMake name: macOS (${{ matrix.arch }}) using CMake
runs-on: macos-latest runs-on: macos-12
needs: check-code-formatting needs: check-code-formatting
strategy: strategy:
fail-fast: false fail-fast: false
@ -200,7 +200,8 @@ jobs:
- arch: x64 - arch: x64
cache_key: macos-x64 cache_key: macos-x64
# Note: only build/run tests on the native architecture of the CI agent # 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 build_flags: -DARCH="x86_64" -DWITH_TESTS=on
run_tests: true run_tests: true
- arch: arm64 - arch: arm64
@ -248,7 +249,7 @@ jobs:
if: ${{matrix.run_tests}} if: ${{matrix.run_tests}}
macos-universal: macos-universal:
name: macOS universal app bundle name: macOS universal app bundle
runs-on: macos-latest runs-on: macos-12
needs: macos-cmake needs: macos-cmake
steps: steps:
- name: Checkout - name: Checkout