ci : update ios-xcode release job to macos-26 (#23906)
* ci : disable libcommon build from xcframework * ocd : fix name * ci : ios-xcode change to macos-26 * cont : pin xcode * cont : pin xcode to minor version
This commit is contained in:
@@ -38,7 +38,7 @@ concurrency:
|
|||||||
queue: max
|
queue: max
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check_release:
|
check-release:
|
||||||
runs-on: ubuntu-slim
|
runs-on: ubuntu-slim
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
@@ -60,8 +60,8 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
macos-cpu:
|
macos-cpu:
|
||||||
needs: [check_release]
|
needs: [check-release]
|
||||||
if: ${{ needs.check_release.outputs.should_release == 'true' }}
|
if: ${{ needs.check-release.outputs.should_release == 'true' }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
@@ -141,8 +141,8 @@ jobs:
|
|||||||
name: llama-bin-macos-${{ matrix.build }}.tar.gz
|
name: llama-bin-macos-${{ matrix.build }}.tar.gz
|
||||||
|
|
||||||
ubuntu-cpu:
|
ubuntu-cpu:
|
||||||
needs: [check_release]
|
needs: [check-release]
|
||||||
if: ${{ needs.check_release.outputs.should_release == 'true' }}
|
if: ${{ needs.check-release.outputs.should_release == 'true' }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
@@ -227,8 +227,8 @@ jobs:
|
|||||||
name: llama-bin-ubuntu-${{ matrix.build }}.tar.gz
|
name: llama-bin-ubuntu-${{ matrix.build }}.tar.gz
|
||||||
|
|
||||||
ubuntu-vulkan:
|
ubuntu-vulkan:
|
||||||
needs: [check_release]
|
needs: [check-release]
|
||||||
if: ${{ needs.check_release.outputs.should_release == 'true' }}
|
if: ${{ needs.check-release.outputs.should_release == 'true' }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@@ -312,8 +312,8 @@ jobs:
|
|||||||
name: llama-bin-ubuntu-vulkan-${{ matrix.build }}.tar.gz
|
name: llama-bin-ubuntu-vulkan-${{ matrix.build }}.tar.gz
|
||||||
|
|
||||||
android-arm64:
|
android-arm64:
|
||||||
needs: [check_release]
|
needs: [check-release]
|
||||||
if: ${{ needs.check_release.outputs.should_release == 'true' }}
|
if: ${{ needs.check-release.outputs.should_release == 'true' }}
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@@ -404,8 +404,8 @@ jobs:
|
|||||||
name: llama-bin-android-arm64.tar.gz
|
name: llama-bin-android-arm64.tar.gz
|
||||||
|
|
||||||
ubuntu-24-openvino:
|
ubuntu-24-openvino:
|
||||||
needs: [check_release]
|
needs: [check-release]
|
||||||
if: ${{ needs.check_release.outputs.should_release == 'true' }}
|
if: ${{ needs.check-release.outputs.should_release == 'true' }}
|
||||||
|
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
|
||||||
@@ -501,8 +501,8 @@ jobs:
|
|||||||
name: llama-bin-ubuntu-openvino-${{ env.OPENVINO_VERSION_MAJOR }}-x64.tar.gz
|
name: llama-bin-ubuntu-openvino-${{ env.OPENVINO_VERSION_MAJOR }}-x64.tar.gz
|
||||||
|
|
||||||
windows-cpu:
|
windows-cpu:
|
||||||
needs: [check_release]
|
needs: [check-release]
|
||||||
if: ${{ needs.check_release.outputs.should_release == 'true' }}
|
if: ${{ needs.check-release.outputs.should_release == 'true' }}
|
||||||
|
|
||||||
runs-on: windows-2025
|
runs-on: windows-2025
|
||||||
|
|
||||||
@@ -569,8 +569,8 @@ jobs:
|
|||||||
name: llama-bin-win-cpu-${{ matrix.arch }}.zip
|
name: llama-bin-win-cpu-${{ matrix.arch }}.zip
|
||||||
|
|
||||||
windows:
|
windows:
|
||||||
needs: [check_release]
|
needs: [check-release]
|
||||||
if: ${{ needs.check_release.outputs.should_release == 'true' }}
|
if: ${{ needs.check-release.outputs.should_release == 'true' }}
|
||||||
|
|
||||||
runs-on: windows-2025
|
runs-on: windows-2025
|
||||||
|
|
||||||
@@ -667,8 +667,8 @@ jobs:
|
|||||||
name: llama-bin-win-${{ matrix.backend }}-${{ matrix.arch }}.zip
|
name: llama-bin-win-${{ matrix.backend }}-${{ matrix.arch }}.zip
|
||||||
|
|
||||||
windows-cuda:
|
windows-cuda:
|
||||||
needs: [check_release]
|
needs: [check-release]
|
||||||
if: ${{ needs.check_release.outputs.should_release == 'true' }}
|
if: ${{ needs.check-release.outputs.should_release == 'true' }}
|
||||||
|
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
|
|
||||||
@@ -959,8 +959,8 @@ jobs:
|
|||||||
# name: llama-bin-ubuntu-sycl-${{ matrix.build }}-x64.tar.gz
|
# name: llama-bin-ubuntu-sycl-${{ matrix.build }}-x64.tar.gz
|
||||||
|
|
||||||
ubuntu-22-rocm:
|
ubuntu-22-rocm:
|
||||||
needs: [check_release]
|
needs: [check-release]
|
||||||
if: ${{ needs.check_release.outputs.should_release == 'true' }}
|
if: ${{ needs.check-release.outputs.should_release == 'true' }}
|
||||||
|
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
@@ -1079,8 +1079,8 @@ jobs:
|
|||||||
name: llama-bin-ubuntu-rocm-${{ env.ROCM_VERSION_SHORT }}-${{ matrix.build }}.tar.gz
|
name: llama-bin-ubuntu-rocm-${{ env.ROCM_VERSION_SHORT }}-${{ matrix.build }}.tar.gz
|
||||||
|
|
||||||
windows-hip:
|
windows-hip:
|
||||||
needs: [check_release]
|
needs: [check-release]
|
||||||
if: ${{ needs.check_release.outputs.should_release == 'true' }}
|
if: ${{ needs.check-release.outputs.should_release == 'true' }}
|
||||||
|
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
|
|
||||||
@@ -1202,11 +1202,9 @@ jobs:
|
|||||||
name: llama-bin-win-hip-${{ matrix.name }}-x64.zip
|
name: llama-bin-win-hip-${{ matrix.name }}-x64.zip
|
||||||
|
|
||||||
ios-xcode:
|
ios-xcode:
|
||||||
needs: [check_release]
|
needs: [check-release]
|
||||||
if: ${{ needs.check_release.outputs.should_release == 'true' }}
|
if: ${{ needs.check-release.outputs.should_release == 'true' }}
|
||||||
# TODO: figure out how to make this work with macos-26
|
runs-on: macos-26
|
||||||
# https://github.com/ggml-org/llama.cpp/actions/runs/26652714555/job/78604869474
|
|
||||||
runs-on: macos-15
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@@ -1216,7 +1214,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup Xcode
|
- name: Setup Xcode
|
||||||
run: |
|
run: |
|
||||||
sudo xcode-select -s /Applications/Xcode_16.4.app
|
sudo xcode-select -s /Applications/Xcode_26.4.app
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
id: cmake_build
|
id: cmake_build
|
||||||
@@ -1232,7 +1230,7 @@ jobs:
|
|||||||
-DLLAMA_BUILD_TESTS=OFF \
|
-DLLAMA_BUILD_TESTS=OFF \
|
||||||
-DLLAMA_BUILD_SERVER=OFF \
|
-DLLAMA_BUILD_SERVER=OFF \
|
||||||
-DCMAKE_SYSTEM_NAME=iOS \
|
-DCMAKE_SYSTEM_NAME=iOS \
|
||||||
-DCMAKE_OSX_DEPLOYMENT_TARGET=14.0 \
|
-DCMAKE_OSX_DEPLOYMENT_TARGET=16.0 \
|
||||||
-DCMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM=ggml
|
-DCMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM=ggml
|
||||||
cmake --build build --config Release -j $(sysctl -n hw.logicalcpu) -- CODE_SIGNING_ALLOWED=NO
|
cmake --build build --config Release -j $(sysctl -n hw.logicalcpu) -- CODE_SIGNING_ALLOWED=NO
|
||||||
|
|
||||||
@@ -1354,8 +1352,8 @@ jobs:
|
|||||||
# name: llama-bin-${{ matrix.chip_type }}-openEuler-${{ matrix.arch }}${{ matrix.use_acl_graph == 'on' && '-aclgraph' || '' }}.tar.gz
|
# name: llama-bin-${{ matrix.chip_type }}-openEuler-${{ matrix.arch }}${{ matrix.use_acl_graph == 'on' && '-aclgraph' || '' }}.tar.gz
|
||||||
|
|
||||||
ui:
|
ui:
|
||||||
needs: [check_release]
|
needs: [check-release]
|
||||||
if: ${{ needs.check_release.outputs.should_release == 'true' }}
|
if: ${{ needs.check-release.outputs.should_release == 'true' }}
|
||||||
uses: ./.github/workflows/ui-build.yml
|
uses: ./.github/workflows/ui-build.yml
|
||||||
|
|
||||||
release:
|
release:
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ TVOS_MIN_OS_VERSION=16.4
|
|||||||
|
|
||||||
BUILD_SHARED_LIBS=OFF
|
BUILD_SHARED_LIBS=OFF
|
||||||
LLAMA_BUILD_APP=OFF
|
LLAMA_BUILD_APP=OFF
|
||||||
|
LLAMA_BUILD_COMMON=OFF
|
||||||
LLAMA_BUILD_EXAMPLES=OFF
|
LLAMA_BUILD_EXAMPLES=OFF
|
||||||
LLAMA_BUILD_TOOLS=OFF
|
LLAMA_BUILD_TOOLS=OFF
|
||||||
LLAMA_BUILD_TESTS=OFF
|
LLAMA_BUILD_TESTS=OFF
|
||||||
@@ -33,6 +34,7 @@ COMMON_CMAKE_ARGS=(
|
|||||||
-DCMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM=ggml
|
-DCMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM=ggml
|
||||||
-DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS}
|
-DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS}
|
||||||
-DLLAMA_BUILD_APP=${LLAMA_BUILD_APP}
|
-DLLAMA_BUILD_APP=${LLAMA_BUILD_APP}
|
||||||
|
-DLLAMA_BUILD_COMMON=${LLAMA_BUILD_COMMON}
|
||||||
-DLLAMA_BUILD_EXAMPLES=${LLAMA_BUILD_EXAMPLES}
|
-DLLAMA_BUILD_EXAMPLES=${LLAMA_BUILD_EXAMPLES}
|
||||||
-DLLAMA_BUILD_TOOLS=${LLAMA_BUILD_TOOLS}
|
-DLLAMA_BUILD_TOOLS=${LLAMA_BUILD_TOOLS}
|
||||||
-DLLAMA_BUILD_TESTS=${LLAMA_BUILD_TESTS}
|
-DLLAMA_BUILD_TESTS=${LLAMA_BUILD_TESTS}
|
||||||
|
|||||||
Reference in New Issue
Block a user