@@ -21,18 +21,27 @@ jobs:
2121 # Don't run on private repo unless it is a PR.
2222 if : (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
2323
24- runs-on : macos-12
2524 strategy :
2625 matrix :
2726 podspec : [FirebaseAuthInterop.podspec, FirebaseAuth.podspec]
28- target : [ios, tvos, macos, watchos]
27+ # TODO: macos tests are blocked by https://github.com/erikdoe/ocmock/pull/532
28+ target : [ios, tvos, macos --skip-tests, watchos]
29+ os : [macos-12, macos-13]
30+ include :
31+ - os : macos-12
32+ xcode : Xcode_14.2
33+ - os : macos-13
34+ xcode : Xcode_15.0.1
35+ runs-on : ${{ matrix.os }}
2936 steps :
3037 - uses : actions/checkout@v3
3138 - uses : ruby/setup-ruby@v1
3239 - name : Setup Bundler
3340 run : scripts/setup_bundler.sh
3441 - name : Configure test keychain
3542 run : scripts/configure_test_keychain.sh
43+ - name : Xcode
44+ run : sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
3645 - name : Build and test
3746 run : |
3847 scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }}
@@ -77,15 +86,23 @@ jobs:
7786 spm :
7887 # Don't run on private repo unless it is a PR.
7988 if : (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
80- runs-on : macos-12
8189 strategy :
8290 matrix :
8391 target : [iOS, tvOS, macOS, catalyst, watchOS]
92+ os : [macos-12, macos-13]
93+ include :
94+ - os : macos-12
95+ xcode : Xcode_14.2
96+ - os : macos-13
97+ xcode : Xcode_15.0.1
98+ runs-on : ${{ matrix.os }}
8499 steps :
85100 - uses : actions/checkout@v3
86101 - uses : mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
87102 with :
88103 cache_key : ${{ matrix.os }}
104+ - name : Xcode
105+ run : sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
89106 - name : Initialize xcodebuild
90107 run : scripts/setup_spm_tests.sh
91108 - name : Unit Tests
0 commit comments