diff --git a/.github/workflows/xcodebuild.yml b/.github/workflows/xcodebuild.yml index 31896a62c6..bb03f721cc 100644 --- a/.github/workflows/xcodebuild.yml +++ b/.github/workflows/xcodebuild.yml @@ -13,11 +13,12 @@ jobs: test: strategy: matrix: - os: [macos-13, macos-14] + include: + - os: macos-13 + env: DEVELOPER_DIR=/Applications/Xcode_15.2.app/Contents/Developer + - os: macos-14 name: Test on ${{ matrix.os }} runs-on: ${{ matrix.os }} - env: - DEVELOPER_DIR: /Applications/Xcode_14.3.app/Contents/Developer timeout-minutes: 15 steps: @@ -26,6 +27,10 @@ jobs: with: fetch-depth: 0 - name: Build Xcode project - run: xcodebuild build-for-testing -project Vienna.xcodeproj -scheme Vienna -configuration Development | xcpretty && exit ${PIPESTATUS[0]} + run: | + xcodebuild -version + xcodebuild build-for-testing -project Vienna.xcodeproj -scheme Vienna -configuration Development | xcpretty && exit ${PIPESTATUS[0]} - name: Test Xcode project - run: xcodebuild test -project Vienna.xcodeproj -scheme Vienna -configuration Development | xcpretty && exit ${PIPESTATUS[0]} + run: | + xcodebuild -version + xcodebuild test -project Vienna.xcodeproj -scheme Vienna -configuration Development | xcpretty && exit ${PIPESTATUS[0]}