@@ -21,18 +21,27 @@ jobs:
21
21
# Don't run on private repo unless it is a PR.
22
22
if : (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
23
23
24
- runs-on : macos-12
25
24
strategy :
26
25
matrix :
27
26
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 }}
29
36
steps :
30
37
- uses : actions/checkout@v3
31
38
- uses : ruby/setup-ruby@v1
32
39
- name : Setup Bundler
33
40
run : scripts/setup_bundler.sh
34
41
- name : Configure test keychain
35
42
run : scripts/configure_test_keychain.sh
43
+ - name : Xcode
44
+ run : sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
36
45
- name : Build and test
37
46
run : |
38
47
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }}
@@ -77,15 +86,23 @@ jobs:
77
86
spm :
78
87
# Don't run on private repo unless it is a PR.
79
88
if : (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
80
- runs-on : macos-12
81
89
strategy :
82
90
matrix :
83
91
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 }}
84
99
steps :
85
100
- uses : actions/checkout@v3
86
101
- uses : mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
87
102
with :
88
103
cache_key : ${{ matrix.os }}
104
+ - name : Xcode
105
+ run : sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
89
106
- name : Initialize xcodebuild
90
107
run : scripts/setup_spm_tests.sh
91
108
- name : Unit Tests
0 commit comments