Skip to content

Commit

Permalink
Fix GHA to use macos-12 runners instead of macos-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
rorbech committed Apr 29, 2024
1 parent 1b90390 commit 114a3be
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/include-deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
deploy:
runs-on: macos-latest
runs-on: macos-12
name: Deploy release

steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/include-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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() &&
Expand Down Expand Up @@ -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() &&
Expand Down Expand Up @@ -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'

Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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() &&
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 114a3be

Please sign in to comment.