Skip to content

Commit

Permalink
Use xcode 15.3
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsenko committed Apr 8, 2024
1 parent 8b86cff commit 2dc939f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,11 @@ jobs:
if: startsWith(matrix.build, 'android')
run: echo "ANDROID_NDK=$ANDROID_NDK_LATEST_HOME" >> $GITHUB_ENV

- name: Downgrade XCode for MacOS
- name: Select XCode for MacOS
if: matrix.build == 'macos'
run: sudo xcode-select -s /Applications/Xcode_14.0.1.app
run: |
xcodes installed
sudo xcodes select 15.3
- name: Build
if: steps.check-cache.outputs.cache-hit != 'true'
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
name: Build MacOS
uses: ./.github/workflows/build-native.yml
with:
runner: macos-latest
runner: macos-14
binary: macos
build: '["macos"]'

Expand All @@ -49,7 +49,7 @@ jobs:
name: Build IOS
uses: ./.github/workflows/build-native.yml
with:
runner: macos-latest
runner: macos-14
binary: ios
build: '["ios-device", "ios-simulator", "ios-catalyst"]'

Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
secrets: inherit
with:
os: macos
runner: macos-latest
runner: macos-14
differentiator: dm${{ github.run_id }}${{ github.run_attempt }}

cleanup-cluster-dart-macos:
Expand Down Expand Up @@ -229,7 +229,7 @@ jobs:
secrets: inherit
with:
os: macos
runner: macos-13 # workaround to: https://github.com/flutter/flutter/issues/118469 latest is still macos-12 ¯\_(ツ)_/¯
runner: macos-14
differentiator: fm${{ github.run_id }}${{ github.run_attempt }}

cleanup-cluster-flutter-macos:
Expand Down Expand Up @@ -279,7 +279,7 @@ jobs:
differentiator: fi${{ github.run_id }}${{ github.run_attempt }}

flutter-tests-ios:
runs-on: macos-latest
runs-on: macos-14
name: Flutter Tests iOS
timeout-minutes: 45
needs:
Expand All @@ -293,6 +293,11 @@ jobs:
working-directory: packages/realm/tests

steps:
- name: Select XCode for MacOS
run: |
xcodes installed
sudo xcodes select 15.3
- name: Checkout
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 2dc939f

Please sign in to comment.