88
99jobs :
1010 macOS :
11- runs-on : macos-latest
11+ runs-on : macos-14
1212 strategy :
1313 fail-fast : false
1414 matrix :
1515 MODE : ["Debug", "Release"]
1616 steps :
17+ # The "macos-14" image defaults to 15.0.1, select the newer Xcode.
18+ - name : Xcode version
19+ run : sudo xcode-select -switch /Applications/Xcode_15.2.app
1720 - uses : actions/checkout@v4
1821 - name : Build and Test
1922 run : |
@@ -26,12 +29,15 @@ jobs:
2629 build test \
2730 | xcpretty
2831 iOS :
29- runs-on : macos-latest
32+ runs-on : macos-14
3033 strategy :
3134 fail-fast : false
3235 matrix :
3336 MODE : ["Debug", "Release"]
3437 steps :
38+ # The "macos-14" image defaults to 15.0.1, select the newer Xcode.
39+ - name : Xcode version
40+ run : sudo xcode-select -switch /Applications/Xcode_15.2.app
3541 - uses : actions/checkout@v4
3642 - name : Build and Test
3743 run : |
@@ -40,28 +46,34 @@ jobs:
4046 -project GTMiPhone.xcodeproj \
4147 -scheme GTMiPhone \
4248 -configuration ${{ matrix.MODE }} \
43- -destination "platform=iOS Simulator,name=iPhone 8 ,OS=latest" \
49+ -destination "platform=iOS Simulator,name=iPhone 14 ,OS=latest" \
4450 build test \
4551 | xcpretty
4652 bazel :
47- runs-on : macos-latest
53+ runs-on : macos-14
4854 strategy :
4955 fail-fast : false
5056 matrix :
5157 MODE : ["dbg", "opt"]
5258 steps :
59+ # The "macos-14" image defaults to 15.0.1, select the newer Xcode.
60+ - name : Xcode version
61+ run : sudo xcode-select -switch /Applications/Xcode_15.2.app
5362 - uses : actions/checkout@v4
5463 - name : bazel test
5564 run : |
5665 bazel test --build_tests_only -c "${{ matrix.MODE }}" //...
5766 pod-lib-lint :
58- runs-on : macos-latest
67+ runs-on : macos-14
5968 strategy :
6069 fail-fast : false
6170 matrix :
6271 # Can't shard by platform because of https://github.com/CocoaPods/CocoaPods/issues/11358
6372 CONFIGURATION : ["Debug", "Release"]
6473 steps :
74+ # The "macos-14" image defaults to 15.0.1, select the newer Xcode.
75+ - name : Xcode version
76+ run : sudo xcode-select -switch /Applications/Xcode_15.2.app
6577 - uses : actions/checkout@v4
6678 - name : Pod lib lint
6779 run : |
0 commit comments