ci: sync workflow with paramedic (#971)

This commit is contained in:
エリス
2022-08-13 00:41:39 +09:00
committed by GitHub
parent a877f62d62
commit 405468cb2d
2 changed files with 16 additions and 35 deletions
+4 -13
View File
@@ -33,6 +33,7 @@ jobs:
test:
name: iOS ${{ matrix.versions.ios-version }} Test
runs-on: ${{ matrix.versions.os-version }}
continue-on-error: true
# hoist configurations to top that are expected to be updated
env:
@@ -49,15 +50,11 @@ jobs:
strategy:
matrix:
versions:
- os-version: macos-10.15
ios-version: 12.x
xcode-version: 11.x
- os-version: macos-10.15
- os-version: macos-11
ios-version: 13.x
xcode-version: 11.x
- os-version: macos-10.15
- os-version: macos-11
ios-version: 14.x
xcode-version: 12.x
@@ -87,14 +84,8 @@ jobs:
npm i -g cordova@latest ios-deploy@latest
npm ci
- name: Run setup iOS 12.x support
if: ${{ matrix.versions.ios-version == '12.x' }}
run: |
sudo mkdir -p /Library/Developer/CoreSimulator/Profiles/Runtimes
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
- name: Run paramedic install
if: ${{ endswith(env.repo, '/cordova-paramedic') != true }}
if: ${{ endswith(env.repo, '/cordova-paramedic') != true }}
run: npm i -g github:apache/cordova-paramedic
- name: Run paramedic tests