diff --git a/.github/workflows/development-tests.yml b/.github/workflows/development-tests.yml index 617b9c0..e7b5cc6 100644 --- a/.github/workflows/development-tests.yml +++ b/.github/workflows/development-tests.yml @@ -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 }} diff --git a/.github/workflows/pre-release-tests.yml b/.github/workflows/pre-release-tests.yml index de83f7d..7d1b2fc 100644 --- a/.github/workflows/pre-release-tests.yml +++ b/.github/workflows/pre-release-tests.yml @@ -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 }} \ No newline at end of file diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index c93c0d2..7271225 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -12,6 +12,9 @@ on: macos-runner: required: true type: string + xcode-version: + required: false + type: string jobs: unit-tests: @@ -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