Skip to content

[CI] Make macOS and Xcode versions explicit #332

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

Merged
merged 2 commits into from
Aug 17, 2023
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
22 changes: 19 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

ci:
name: ${{ matrix.platform[0] }} ${{ matrix.platform[1] }}
runs-on: ${{ matrix.os || 'macos-13' }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
Expand All @@ -50,16 +50,22 @@ jobs:
install: true
- platform: [ios, 14]
runtime: iOS 14.5
xcode: 14.2
os: macos-13
xcode: 14.3.1
install: true
- platform: [ios, 15]
runtime: iOS 15.5
os: macos-13
xcode: 15.0
install: true
- platform: [ios, 16]
runtime: iOS 16.4
os: macos-13
xcode: 14.3.1
- platform: [ios, 17]
runtime: iOS 17.0
os: macos-13
xcode: 15.0

- platform: [tvos, 13]
runtime: tvOS 13.4
Expand All @@ -68,14 +74,22 @@ jobs:
install: true
- platform: [tvos, 14]
runtime: tvOS 14.5
os: macos-13
xcode: 14.3.1
install: true
- platform: [tvos, 15]
runtime: tvOS 15.4
os: macos-13
xcode: 15.0
install: true
- platform: [tvos, 16]
runtime: tvOS 16.4
os: macos-13
xcode: 15.0
- platform: [tvos, 17]
runtime: tvOS 17.0
os: macos-13
xcode: 15.0

- platform: [macos, 11]
runtime: macOS 11
Expand All @@ -93,6 +107,8 @@ jobs:
# FIXME: this currently hangs on CI
# - platform: [visionos, 1]
# runtime: visionOS 1.0-beta2
# os: macos-13
# xcode: 15.0
# install: true
steps:
- name: Git Checkout
Expand All @@ -105,7 +121,7 @@ jobs:
github.com/XcodesOrg/xcodes

- name: Select Xcode version
run: sudo xcodes select ${{ matrix.xcode || '15.0' }}
run: sudo xcodes select ${{ matrix.xcode }}

- if: ${{ matrix.install }}
name: Install Required Runtime (${{ matrix.runtime }})
Expand Down