Skip to content

Commit 827bb61

Browse files
authored
ci: sync workflow with paramedic (#804)
1 parent d0545c8 commit 827bb61

File tree

2 files changed

+16
-35
lines changed

2 files changed

+16
-35
lines changed

.github/workflows/android.yml

+12-22
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
test:
3434
name: Android ${{ matrix.versions.android }} Test
3535
runs-on: macos-latest
36+
continue-on-error: true
3637

3738
# hoist configurations to top that are expected to be updated
3839
env:
@@ -55,39 +56,28 @@ jobs:
5556
strategy:
5657
matrix:
5758
versions:
59+
# Test the lowest minimum supported APIs
5860
- android: 5.1
5961
android-api: 22
6062

61-
- android: 6
62-
android-api: 23
63-
64-
- android: 7
65-
android-api: 24
66-
67-
- android: 7.1
68-
android-api: 25
69-
70-
- android: 8
71-
android-api: 26
72-
73-
- android: 8.1
74-
android-api: 27
75-
system-image-target: default
76-
77-
- android: 9
78-
android-api: 28
79-
63+
# Test the last 3-4 supported APIs
8064
- android: 10
8165
android-api: 29
8266

8367
- android: 11
8468
android-api: 30
8569

70+
- android: 12
71+
android-api: 31
72+
73+
- android: 12L
74+
android-api: 32
75+
8676
timeout-minutes: 60
8777

8878
steps:
89-
- uses: actions/checkout@v2
90-
- uses: actions/setup-node@v2
79+
- uses: actions/checkout@v3
80+
- uses: actions/setup-node@v3
9181
with:
9282
node-version: ${{ env.node-version }}
9383
- uses: actions/setup-java@v3
@@ -112,7 +102,7 @@ jobs:
112102
npm ci
113103
114104
- name: Run paramedic install
115-
if: ${{ endswith(env.repo, '/cordova-paramedic') != true }}
105+
if: ${{ endswith(env.repo, '/cordova-paramedic') != true }}
116106
run: npm i -g github:apache/cordova-paramedic
117107

118108
- uses: reactivecircus/android-emulator-runner@5de26e4bd23bf523e8a4b7f077df8bfb8e52b50e

.github/workflows/ios.yml

+4-13
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
test:
3434
name: iOS ${{ matrix.versions.ios-version }} Test
3535
runs-on: ${{ matrix.versions.os-version }}
36+
continue-on-error: true
3637

3738
# hoist configurations to top that are expected to be updated
3839
env:
@@ -49,15 +50,11 @@ jobs:
4950
strategy:
5051
matrix:
5152
versions:
52-
- os-version: macos-10.15
53-
ios-version: 12.x
54-
xcode-version: 11.x
55-
56-
- os-version: macos-10.15
53+
- os-version: macos-11
5754
ios-version: 13.x
5855
xcode-version: 11.x
5956

60-
- os-version: macos-10.15
57+
- os-version: macos-11
6158
ios-version: 14.x
6259
xcode-version: 12.x
6360

@@ -87,14 +84,8 @@ jobs:
8784
npm i -g cordova@latest ios-deploy@latest
8885
npm ci
8986
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-
9687
- name: Run paramedic install
97-
if: ${{ endswith(env.repo, '/cordova-paramedic') != true }}
88+
if: ${{ endswith(env.repo, '/cordova-paramedic') != true }}
9889
run: npm i -g github:apache/cordova-paramedic
9990

10091
- name: Run paramedic tests

0 commit comments

Comments
 (0)