9
9
- " **"
10
10
env :
11
11
CI_XCODE_14 : /Applications/Xcode_14.2.app/Contents/Developer
12
- CI_XCODE_15 : /Applications/Xcode_15.0.app/Contents/Developer
12
+ CI_XCODE_15 : /Applications/Xcode_15.4.0.app/Contents/Developer
13
+ CI_XCODE_16 : /Applications/Xcode_16.0.app/Contents/Developer
13
14
jobs :
14
15
tests :
15
16
env :
@@ -21,47 +22,36 @@ jobs:
21
22
- test:ios
22
23
- test:macos
23
24
- test:parse_live_query:all
24
- - build:starters
25
- - xcode15 # runs build:starters on XCode 15
25
+ - xcode14 # runs build:starters on Xcode 14
26
+ - xcode15 # runs build:starters on Xcode 15
27
+ - xcode16 # runs build:starters on Xcode 16
26
28
fail-fast : false
27
- runs-on : macos-13
29
+ runs-on : ${{ ((matrix.script == 'xcode15' || matrix.script == 'xcode16') && ' macos-14') || 'macos-13' }}
28
30
steps :
29
- - uses : actions/checkout@v3
31
+ - uses : actions/checkout@v4
30
32
- name : Cache SPM
31
- uses : actions/cache@v3
33
+ uses : actions/cache@v4
32
34
with :
33
35
path : ~/Library/Developer/Xcode/DerivedData/Parse*/SourcePackages/
34
36
key : ${{ runner.os }}-spm-${{ hashFiles('Parse.xcworkspace/xcshareddata/swiftpm/Package.resolved') }}
35
37
restore-keys : |
36
38
${{ runner.os }}-spm-
37
39
- name : Setup Ruby
38
- uses : ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
39
- - name : Cache Gems
40
- id : cache-gems
41
- uses : actions/cache@v3
40
+ uses : ruby/setup-ruby@v1
42
41
with :
43
- path : vendor/bundle
44
- key : ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
45
- restore-keys : |
46
- ${{ runner.os }}-gem-
42
+ bundler-cache : true
47
43
- name : Create and set the default keychain
48
44
run : |
49
45
security create-keychain -p "" temporary
50
46
security default-keychain -s temporary
51
47
security unlock-keychain -p "" temporary
52
48
security set-keychain-settings -lut 7200 temporary
53
49
- name : Submodules
54
- run : |
55
- git submodule update --init --recursive
56
- sudo gem install bundler -v 2.4.22
57
- bundle config set path 'vendor/bundle'
58
- - name : Bundle Install
59
- if : steps.cache-gems.outputs.cache-hit != 'true'
60
- run : bundle install
50
+ run : git submodule update --init --recursive
61
51
- name : Build-Test
62
- run : set -o pipefail && env NSUnbufferedIO=YES bundle exec rake ${{ matrix.script == 'xcode15' && 'build:starters' || matrix.script }}
52
+ run : set -o pipefail && env NSUnbufferedIO=YES bundle exec rake ${{ (( matrix.script == 'xcode14' || matrix.script == ' xcode15' || matrix.script == 'xcode16') && 'build:starters') || matrix.script }}
63
53
env :
64
- DEVELOPER_DIR : ${{ (matrix.script == 'xcode15' && env.CI_XCODE_15) || env.CI_XCODE_14 }}
54
+ DEVELOPER_DIR : ${{ (matrix.script == 'xcode15' && env.CI_XCODE_15) || (matrix.script == 'xcode16' && env.CI_XCODE_16) || env.CI_XCODE_14 }}
65
55
- name : Generate Environment Variables
66
56
if : ${{ always() }}
67
57
env :
@@ -116,25 +106,13 @@ jobs:
116
106
runs-on : macos-13
117
107
timeout-minutes : 15
118
108
steps :
119
- - uses : actions/checkout@v3
109
+ - uses : actions/checkout@v4
120
110
- name : Setup Ruby
121
- uses : ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
122
- - name : Cache Gems
123
- id : cache-gems
124
- uses : actions/cache@v3
111
+ uses : ruby/setup-ruby@v1
125
112
with :
126
- path : vendor/bundle
127
- key : ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
128
- restore-keys : |
129
- ${{ runner.os }}-gem-
113
+ bundler-cache : true
130
114
- name : Submodules
131
- run : |
132
- git submodule update --init --recursive
133
- sudo gem install bundler -v 2.4.22
134
- bundle config path vendor/bundle
135
- - name : Bundle Install
136
- if : steps.cache-gems.outputs.cache-hit != 'true'
137
- run : bundle install
115
+ run : git submodule update --init --recursive
138
116
- name : Create Jazzy Docs
139
117
run : |
140
118
./Scripts/jazzy.sh
0 commit comments