Răsfoiți Sursa

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
Sigbjørn Skjæret 5 luni în urmă
părinte
comite
d3248d9b65
2 a modificat fișierele cu 10 adăugiri și 1 ștergeri
  1. 5 0
      .github/workflows/build.yml
  2. 5 1
      .github/workflows/release.yml

+ 5 - 0
.github/workflows/build.yml

@@ -1113,6 +1113,11 @@ jobs:
       - name: Checkout code
       - name: Checkout code
         uses: actions/checkout@v4
         uses: actions/checkout@v4
 
 
+      - name: Setup Xcode
+        uses: maxim-lobanov/setup-xcode@v1
+        with:
+          xcode-version: latest-stable
+
       - name: Build
       - name: Build
         id: cmake_build
         id: cmake_build
         run: |
         run: |

+ 5 - 1
.github/workflows/release.yml

@@ -600,7 +600,7 @@ jobs:
           name: llama-bin-win-hip-${{ matrix.name }}-x64.zip
           name: llama-bin-win-hip-${{ matrix.name }}-x64.zip
 
 
   ios-xcode-build:
   ios-xcode-build:
-    runs-on: macos-latest
+    runs-on: macos-15
 
 
     steps:
     steps:
       - name: Checkout code
       - name: Checkout code
@@ -608,6 +608,10 @@ jobs:
         with:
         with:
           fetch-depth: 0
           fetch-depth: 0
 
 
+      - name: Setup Xcode
+        run: |
+          sudo xcode-select -s /Applications/Xcode_16.4.app
+
       - name: Build
       - name: Build
         id: cmake_build
         id: cmake_build
         run: |
         run: |