From d3248d9b6557c75d59954c594bb53cf517591e91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigbj=C3=B8rn=20Skj=C3=A6ret?= Date: Fri, 15 Aug 2025 14:02:39 +0200 Subject: [PATCH] ci : fix ios-xcode-build (#15324) * fix ios-xcode-build * use xcode-select with fixed version * switch to macos-15 to get xcode 16.4 --- .github/workflows/build.yml | 5 +++++ .github/workflows/release.yml | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d5af79f240..83aaea9947 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1113,6 +1113,11 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Setup Xcode + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: latest-stable + - name: Build id: cmake_build run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4dbe51b7f0..9ebb0236fa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -600,7 +600,7 @@ jobs: name: llama-bin-win-hip-${{ matrix.name }}-x64.zip ios-xcode-build: - runs-on: macos-latest + runs-on: macos-15 steps: - name: Checkout code @@ -608,6 +608,10 @@ jobs: with: fetch-depth: 0 + - name: Setup Xcode + run: | + sudo xcode-select -s /Applications/Xcode_16.4.app + - name: Build id: cmake_build run: |