Skip to content

Commit

Permalink
Set xcode version on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachNagengast committed Dec 20, 2024
1 parent 1d3b1f4 commit 250ed9d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/development-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,14 @@ jobs:
- os: macos-13-xlarge
ios-version: "16.1"
ios-device: "iPhone 14"
xcode-version: "14.1"
- os: macos-14
ios-version: "17.0.1"
ios-device: "iPhone 15"
xcode-version: "15.0.1"
uses: ./.github/workflows/unit-tests.yml
with:
macos-runner: ${{ matrix.os }}
ios-version: ${{ matrix.ios-version }}
ios-device: ${{ matrix.ios-device }}
xcode-version: ${{ matrix.xcode-version }}
7 changes: 6 additions & 1 deletion .github/workflows/pre-release-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,18 @@ jobs:
- os: macos-13-xlarge
ios-version: "16.1" # Oldest available version on macOS 13
ios-device: "iPhone 14"
xcode-version: "14.1"
- os: macos-14
ios-version: "17.0.1" # Oldest available version on macOS 14
ios-device: "iPhone 15"
xcode-version: "15.0.1"
- os: macos-15
ios-version: "18.2" # Latest available version
ios-device: "iPhone 16"
xcode-version: "latest-stable"
uses: ./.github/workflows/unit-tests.yml
with:
ios-version: ${{ matrix.ios-version }}
macos-runner: ${{ matrix.os }}
ios-version: ${{ matrix.ios-version }}
ios-device: ${{ matrix.ios-device }}
xcode-version: ${{ matrix.xcode-version }}
5 changes: 4 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
macos-runner:
required: true
type: string
xcode-version:
required: false
type: string

jobs:
unit-tests:
Expand Down Expand Up @@ -49,7 +52,7 @@ jobs:
- uses: actions/checkout@v4
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
xcode-version: ${{ inputs.xcode-version || 'latest-stable' }}
- name: Setup environment
run: make setup
- name: Setup Cache
Expand Down

0 comments on commit 250ed9d

Please sign in to comment.