From 114a3be0a97e62e82bde6cd769955d434f61ae95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claus=20R=C3=B8rbech?= Date: Mon, 29 Apr 2024 14:53:14 +0200 Subject: [PATCH] Fix GHA to use macos-12 runners instead of macos-latest --- .github/workflows/include-deploy-release.yml | 2 +- .../workflows/include-integration-tests.yml | 8 ++--- .github/workflows/pr.yml | 32 +++++++++---------- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/include-deploy-release.yml b/.github/workflows/include-deploy-release.yml index 7141f919f1..4dc1d2d163 100644 --- a/.github/workflows/include-deploy-release.yml +++ b/.github/workflows/include-deploy-release.yml @@ -13,7 +13,7 @@ on: jobs: deploy: - runs-on: macos-latest + runs-on: macos-12 name: Deploy release steps: diff --git a/.github/workflows/include-integration-tests.yml b/.github/workflows/include-integration-tests.yml index e8b35c5133..e39b2613e0 100644 --- a/.github/workflows/include-integration-tests.yml +++ b/.github/workflows/include-integration-tests.yml @@ -16,7 +16,7 @@ jobs: # TODO: The Monkey seems to crash the app all the time, but with failures that are not coming from the app. Figure out why. # android-sample-app: - # runs-on: macos-latest + # runs-on: macos-12 # steps: # - name: Checkout code # uses: actions/checkout@v3 @@ -87,7 +87,7 @@ jobs: ./gradlew assembleDebug jvmJar realm-java-compatibiliy: - runs-on: macos-latest + runs-on: macos-12 steps: - name: Checkout code uses: actions/checkout@v3 @@ -217,7 +217,7 @@ jobs: - type: gradle75 path: integration-tests/gradle/gradle75-test arguments: integrationTest - runs-on: macos-latest + runs-on: macos-12 steps: - uses: actions/checkout@v3 @@ -295,7 +295,7 @@ jobs: - type: gradle8 path: integration-tests/gradle/gradle8-test arguments: integrationTest - runs-on: macos-latest + runs-on: macos-12 steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 9d463ceb66..3f94add458 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -229,7 +229,7 @@ jobs: retention-days: 1 build-jvm-macos-native-lib: - runs-on: macos-latest + runs-on: macos-12 needs: [check-cache, build-jni-swig-stub] if: | always() && @@ -395,7 +395,7 @@ jobs: # This task is also responsible for creating the Gradle and Compiler Plugin as well as # all Kotlin Multiplatform Metadata build-jvm-packages: - runs-on: macos-latest + runs-on: macos-12 needs: [check-cache, build-jvm-linux-native-lib, build-jvm-windows-native-lib, build-jvm-macos-native-lib] if: | always() && @@ -638,7 +638,7 @@ jobs: # TODO: ccache is not being used by this build for some reason build-macos-x64-packages: - runs-on: macos-latest + runs-on: macos-12 needs: check-cache if: always() && !cancelled() && needs.check-cache.outputs.packages-macos-x64-cache-hit != 'true' @@ -706,7 +706,7 @@ jobs: retention-days: 1 build-macos-arm64-packages: - runs-on: macos-latest + runs-on: macos-12 needs: check-cache # needs: static-analysis if: always() && !cancelled() && needs.check-cache.outputs.packages-macos-arm64-cache-hit != 'true' @@ -774,7 +774,7 @@ jobs: retention-days: 1 build-ios-x64-packages: - runs-on: macos-latest + runs-on: macos-12 needs: check-cache # needs: static-analysis if: always() && !cancelled() && needs.check-cache.outputs.packages-ios-x64-cache-hit != 'true' @@ -843,7 +843,7 @@ jobs: retention-days: 1 build-ios-arm64-packages: - runs-on: macos-latest + runs-on: macos-12 needs: check-cache # needs: static-analysis if: always() && !cancelled() && needs.check-cache.outputs.packages-ios-arm64-cache-hit != 'true' @@ -931,7 +931,7 @@ jobs: - type: sync test-title: Unit Test Results - Android Sync (Emulator) - runs-on: macos-latest + runs-on: macos-12 needs: [check-cache, build-android-packages, build-jvm-packages, build-kotlin-metadata-package] if: | always() && @@ -1175,15 +1175,15 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest] # , macos-arm] + os: [macos-12] # , macos-arm] type: [base, sync] include: - - os: macos-latest + - os: macos-12 type: base os-id: macos package-prefix: macos-x64 test-title: Unit Test Results - MacOS x64 Base - - os: macos-latest + - os: macos-12 type: sync os-id: macos package-prefix: macos-x64 @@ -1297,15 +1297,15 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest] # , macos-arm] + os: [macos-12] # , macos-arm] type: [base, sync] include: - - os: macos-latest + - os: macos-12 type: base package-prefix: x64 test-title: Unit Test Results - iOS x64 Base test-task: iosTest - - os: macos-latest + - os: macos-12 type: sync package-prefix: x64 test-title: Unit Test Results - iOS x64 Sync @@ -1419,10 +1419,10 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, ubuntu-latest, windows-latest] # TODO Should we also test om MacOS arm64? + os: [macos-12, ubuntu-latest, windows-latest] # TODO Should we also test om MacOS arm64? type: [base, sync] include: - - os: macos-latest + - os: macos-12 os-id: mac type: base test-title: Unit Test Results - Base JVM MacOS x64 @@ -1434,7 +1434,7 @@ jobs: os-id: win type: base test-title: Unit Test Results - Base JVM Windows - - os: macos-latest + - os: macos-12 os-id: mac type: sync test-title: Unit Test Results - Sync JVM MacOS x64