Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Oct 18, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 22 additions & 4 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ on:
jobs:
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
env:
Expand All @@ -49,9 +49,21 @@ jobs:
strategy:
matrix:
versions:
- ios-version: 12.x
- ios-version: 13.x
- ios-version: 14.x
- os-version: macos-10.15
ios-version: 12.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:
- uses: actions/checkout@v2
Expand All @@ -75,6 +87,12 @@ 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 }}
run: npm i -g github:apache/cordova-paramedic
Expand Down