ci(ios): update workflow w/ iOS 15 (#222)

This commit is contained in:
エリス 2021-10-19 14:23:15 +09:00 committed by GitHub
parent 3ebae213df
commit cc24a4d257
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ on:
jobs: jobs:
test: test:
name: iOS ${{ matrix.versions.ios-version }} Test name: iOS ${{ matrix.versions.ios-version }} Test
runs-on: macos-latest runs-on: ${{ matrix.versions.os-version }}
# hoist configurations to top that are expected to be updated # hoist configurations to top that are expected to be updated
env: env:
@ -49,9 +49,21 @@ jobs:
strategy: strategy:
matrix: matrix:
versions: versions:
- ios-version: 12.x - os-version: macos-10.15
- ios-version: 13.x ios-version: 12.x
- ios-version: 14.x xcode-version: 11.x
- os-version: macos-10.15
ios-version: 13.x
xcode-version: 11.x
- os-version: macos-10.15
ios-version: 14.x
xcode-version: 12.x
- os-version: macos-11
ios-version: 15.x
xcode-version: 13.x
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -75,6 +87,12 @@ jobs:
npm i -g cordova@latest ios-deploy@latest npm i -g cordova@latest ios-deploy@latest
npm ci 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 - 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 run: npm i -g github:apache/cordova-paramedic