Skip to content

Commit

Permalink
Skip install of iOS 17.2 SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
robmaceachern committed Jan 24, 2024
1 parent 4089cb5 commit a00a5c7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,17 @@ jobs:
include:
- sdk: "15.0"
destination: platform=iOS Simulator,OS=15.0,name=iPhone 13
installation_required: true

- sdk: "16.2"
destination: platform=iOS Simulator,OS=16.2,name=iPhone 14
installation_required: true

- sdk: "17.2"
destination: platform=iOS Simulator,OS=17.2,name=iPhone 15
# The iOS 17.2 SDK is pre-installed on the macOS 13 image.
# Attempting to install it will fail with an error.
installation_required: false

steps:
- uses: actions/checkout@v1
Expand All @@ -38,7 +43,7 @@ jobs:
run: brew install aria2 xcodesorg/made/xcodes

- name: Install iOS ${{ matrix.sdk }}
run: sudo xcodes runtimes install "iOS ${{ matrix.sdk }}"
run: ${{ matrix.installation_required }} && sudo xcodes runtimes install "iOS ${{ matrix.sdk }}"

- name: Build & Test
run: |
Expand Down

0 comments on commit a00a5c7

Please sign in to comment.