Merge pull request #1128 from kiwix/try-out-xcode16.1

Xcode 16.1 on CI/CD
This commit is contained in:
Kelson 2025-03-01 21:06:12 +01:00 committed by GitHub
commit 6d17ce0a72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View File

@ -53,10 +53,10 @@ runs:
-T /usr/bin/security \
-T /usr/bin/productbuild || true
- name: Set Xcode version (15.4.0)
- name: Set Xcode version (16.1.0)
shell: bash
# https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md#xcode
run: sudo xcode-select -s /Applications/Xcode_15.4.0.app
# https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md#xcode
run: sudo xcode-select -s /Applications/Xcode_16.1.0.app
- name: Create Keychain
shell: bash

View File

@ -122,7 +122,7 @@ jobs:
- name: Set iOS extra xcode params
if: matrix.platform == 'iOS' && contains(env.UPLOAD_TO, matrix.destination)
run: echo "EXTRA_XCODEBUILD=-sdk iphoneos ${{ env.APPLE_AUTH_PARAMS }}" >> $GITHUB_ENV
run: echo "EXTRA_XCODEBUILD=-sdk iphoneos18.1 ${{ env.APPLE_AUTH_PARAMS }}" >> $GITHUB_ENV
- name: Set macOS extra xcode params
if: matrix.platform == 'macOS' && contains(env.UPLOAD_TO, matrix.destination)

View File

@ -41,7 +41,7 @@ jobs:
- name: Set EXTRA_XCODEBUILD for iOS
if: matrix.platform == 'iOS'
run: echo "EXTRA_XCODEBUILD=-sdk iphoneos ${{ env.APPLE_AUTH_PARAMS }}" >> $GITHUB_ENV
run: echo "EXTRA_XCODEBUILD=-sdk iphoneos18.1 ${{ env.APPLE_AUTH_PARAMS }}" >> $GITHUB_ENV
- name: Set EXTRA_XCODEBUILD for macOS
if: matrix.platform == 'macOS'
@ -64,7 +64,7 @@ jobs:
- name: Run Unit Tests on iOS
if: matrix.platform == 'iOS'
run: xcodebuild test -scheme Kiwix -destination 'platform=iOS Simulator,name=iPhone 15 Plus'
run: xcodebuild test -scheme Kiwix -destination 'platform=iOS Simulator,name=iPhone 16 Pro'
- name: Run Unit Tests on macOS
if: matrix.platform == 'macOS'