Skip to content

Commit

Permalink
ci: Remove macos-11 runners (#4049)
Browse files Browse the repository at this point in the history
GH deprecates the macos-11 runners by the end of June2043. We have
to remove them.
  • Loading branch information
philipphofmann authored Jun 10, 2024
1 parent 45d2a0f commit 1ae5768
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 37 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,20 +77,6 @@ jobs:
matrix:
# Can't run tests on watchOS because XCTest is not available
include:
# iOS 13.7
- runs-on: macos-11
platform: "iOS"
xcode: "13.2.1"
test-destination-os: "13.7"
device: "iPhone 8"

# iOS 14
- runs-on: macos-11
platform: "iOS"
xcode: "13.2.1"
test-destination-os: "14.5"
device: "iPhone 8"

# iOS 15
- runs-on: macos-12
platform: "iOS"
Expand All @@ -112,12 +98,6 @@ jobs:
test-destination-os: "17.2"
device: "iPhone 15"

# macOS 11
- runs-on: macos-11
platform: "macOS"
xcode: "13.2.1"
test-destination-os: "latest"

# macOS 12
- runs-on: macos-12
platform: "macOS"
Expand Down Expand Up @@ -180,14 +160,6 @@ jobs:

- run: ./scripts/ci-select-xcode.sh ${{matrix.xcode}}

- name: Prepare iOS 13.7 simulator
if: ${{ matrix.platform == 'iOS' && matrix.test-destination-os == '13.7'}}
run: ./scripts/create-simulator.sh 11.7 13.7 13-7

- name: Prepare iOS 14.5 simulator
if: ${{ matrix.platform == 'iOS' && matrix.test-destination-os == '14.5'}}
run: ./scripts/create-simulator.sh 12.5.1 14.5 14-5

- name: Install Slather
run: gem install slather

Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,6 @@ jobs:
fail-fast: false
matrix:
include:
- runs-on: macos-11
xcode: "13.2.1"
device: "iPhone 8 (13.7)"

- runs-on: macos-12
xcode: "13.4.1"
device: "iPhone 8 (15.5)"
Expand All @@ -133,10 +129,6 @@ jobs:
- uses: actions/checkout@v4
- run: ./scripts/ci-select-xcode.sh ${{matrix.xcode}}

- name: Create iOS 13.7 simulator
if: ${{ matrix.device == 'iPhone 8 (13.7)' }}
run: ./scripts/create-simulator.sh 11.7 13.7 13-7

- name: Create iOS 16.4 simulator
if: ${{ matrix.device == 'iPhone 14 (16.4)' }}
run: ./scripts/create-simulator.sh 14.3.1 16.4 16-4
Expand Down
1 change: 0 additions & 1 deletion scripts/ci-select-xcode.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash

# For available Xcode versions see:
# - https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11-Readme.md#xcode
# - https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md
# - https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md
# - https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md
Expand Down

0 comments on commit 1ae5768

Please sign in to comment.