Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
GitHub quietly dropped Xcode 16 support for macOS 14, and does not
support Xcode <16 on macOS 14, so we have to update our workflow to
account for these mismatches.
  • Loading branch information
stephencelis committed Nov 12, 2024
1 parent 05c9f02 commit fcba5f2
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,23 @@ concurrency:
cancel-in-progress: true

jobs:
macos:
strategy:
matrix:
config:
- debug
- release
xcode:
- '16.0'
name: macOS 15
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Run tests
run: make test-${{ matrix.config }}

macos:
strategy:
matrix:
Expand All @@ -22,8 +39,7 @@ jobs:
xcode:
- 15.2
- 15.4
- '16.0'
name: macOS
name: macOS 14
runs-on: macos-14
steps:
- uses: actions/checkout@v4
Expand All @@ -34,7 +50,7 @@ jobs:

library-evolution:
name: Library evolution
runs-on: macos-14
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Select Xcode
Expand All @@ -49,10 +65,9 @@ jobs:
- Debug
- Release
xcode:
- 15.4
- '16.0'
name: Examples
runs-on: macos-14
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Select Xcode
Expand Down

0 comments on commit fcba5f2

Please sign in to comment.