mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-21 02:21:39 -04:00
Merge pull request #1128 from kiwix/try-out-xcode16.1
Xcode 16.1 on CI/CD
This commit is contained in:
commit
6d17ce0a72
6
.github/actions/xcbuild/action.yml
vendored
6
.github/actions/xcbuild/action.yml
vendored
@ -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
|
||||
|
2
.github/workflows/cd.yml
vendored
2
.github/workflows/cd.yml
vendored
@ -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)
|
||||
|
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user