[ci] Fix iOS

Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
x7z4w
2025-11-02 12:17:51 +01:00
committed by Yannik Bloscheck
parent 1df7848888
commit 399908b97c

View File

@@ -8,14 +8,14 @@ on:
jobs: jobs:
ios-check: ios-check:
name: Build iOS name: Build iOS
runs-on: macos-15 runs-on: macos-26
env: env:
DEVELOPER_DIR: /Applications/Xcode_26.app/Contents/Developer DEVELOPER_DIR: /Applications/Xcode_26.1.app/Contents/Developer
LANG: en_US.UTF-8 # Fastlane complains that the terminal is using ASCII. LANG: en_US.UTF-8 # Fastlane complains that the terminal is using ASCII.
LANGUAGE: en_US.UTF-8 LANGUAGE: en_US.UTF-8
LC_ALL: en_US.UTF-8 LC_ALL: en_US.UTF-8
TEST_RESULTS_BUNDLE_NAME: CoMaps-Test-Results TEST_RESULTS_BUNDLE_NAME: CoMaps-Test-Results
SIMULATOR_DEVICE: 'iPhone 16 Pro Max' SIMULATOR_DEVICE: 'iPhone 17 Pro Max'
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@@ -31,6 +31,9 @@ jobs:
brew install qt \ brew install qt \
optipng optipng
pip3 install "protobuf<3.21" --break-system-packages pip3 install "protobuf<3.21" --break-system-packages
xcodebuild -downloadComponent metalToolchain
xcodebuild -downloadPlatform iOS
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -42,7 +45,7 @@ jobs:
shell: bash shell: bash
run: ./configure.sh run: ./configure.sh
- name: Configure XCode cache - name: Configure Xcode cache
uses: irgaly/xcode-cache@v1 uses: irgaly/xcode-cache@v1
with: with:
key: xcode-cache-deriveddata-${{ github.workflow }}-${{ matrix.buildType }}-${{ github.sha }} key: xcode-cache-deriveddata-${{ github.workflow }}-${{ matrix.buildType }}-${{ github.sha }}