Skip to content

Commit bf12b39

Browse files
authored
ci(ios): update workflow w/ iOS 15 (#770)
1 parent ed216ce commit bf12b39

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

.github/workflows/ios.yml

+22-4
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ on:
3232
jobs:
3333
test:
3434
name: iOS ${{ matrix.versions.ios-version }} Test
35-
runs-on: macos-latest
35+
runs-on: ${{ matrix.versions.os-version }}
3636

3737
# hoist configurations to top that are expected to be updated
3838
env:
@@ -49,9 +49,21 @@ jobs:
4949
strategy:
5050
matrix:
5151
versions:
52-
- ios-version: 12.x
53-
- ios-version: 13.x
54-
- ios-version: 14.x
52+
- os-version: macos-10.15
53+
ios-version: 12.x
54+
xcode-version: 11.x
55+
56+
- os-version: macos-10.15
57+
ios-version: 13.x
58+
xcode-version: 11.x
59+
60+
- os-version: macos-10.15
61+
ios-version: 14.x
62+
xcode-version: 12.x
63+
64+
- os-version: macos-11
65+
ios-version: 15.x
66+
xcode-version: 13.x
5567

5668
steps:
5769
- uses: actions/checkout@v2
@@ -75,6 +87,12 @@ jobs:
7587
npm i -g cordova@latest ios-deploy@latest
7688
npm ci
7789
90+
- name: Run setup iOS 12.x support
91+
if: ${{ matrix.versions.ios-version == '12.x' }}
92+
run: |
93+
sudo mkdir -p /Library/Developer/CoreSimulator/Profiles/Runtimes
94+
sudo ln -s /Applications/Xcode_10.3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ 12.4.simruntime
95+
7896
- name: Run paramedic install
7997
if: ${{ endswith(env.repo, '/cordova-paramedic') != true }}
8098
run: npm i -g github:apache/cordova-paramedic

0 commit comments

Comments
 (0)