diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c99cadb..946e65d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,10 +47,11 @@ jobs: run: make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Release PLATFORM="${{ matrix.platform }}" xcodebuild xcodebuild-macOS-14: - runs-on: macos-14 + runs-on: macos-13 strategy: matrix: command: [test, ""] + xcode: ["15.0.1", "15.4"] platform: [IOS, MAC_CATALYST, MACOS, TVOS, VISIONOS, WATCHOS] exclude: - { platform: VISIONOS } @@ -58,15 +59,17 @@ jobs: - { command: test, skip_release: 1 } steps: - uses: actions/checkout@v4 + - name: Select Xcode + run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app - name: Cache derived data uses: actions/cache@v3 with: path: | ~/.derivedData key: | - deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.command }}-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift') }} + deriveddata-xcodebuild-${{ matrix.xcode }}-${{ matrix.platform }}-${{ matrix.command }}-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift') }} restore-keys: | - deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.command }}- + deriveddata-xcodebuild-${{ matrix.xcode }}-${{ matrix.platform }}-${{ matrix.command }}- - name: Set IgnoreFileSystemDeviceInodeChanges flag run: defaults write com.apple.dt.XCBuild IgnoreFileSystemDeviceInodeChanges -bool YES - name: Update mtime for incremental builds