|
@@ -70,6 +70,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: macOS-latest-cmake-arm64
|
|
key: macOS-latest-cmake-arm64
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Build
|
|
- name: Build
|
|
|
id: cmake_build
|
|
id: cmake_build
|
|
@@ -106,6 +107,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: macOS-latest-cmake-x64
|
|
key: macOS-latest-cmake-x64
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Build
|
|
- name: Build
|
|
|
id: cmake_build
|
|
id: cmake_build
|
|
@@ -142,6 +144,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: macOS-latest-cmake-arm64-webgpu
|
|
key: macOS-latest-cmake-arm64-webgpu
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Dawn Dependency
|
|
- name: Dawn Dependency
|
|
|
id: dawn-depends
|
|
id: dawn-depends
|
|
@@ -195,6 +198,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: ubuntu-cpu-cmake-${{ matrix.build }}
|
|
key: ubuntu-cpu-cmake-${{ matrix.build }}
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Build Dependencies
|
|
- name: Build Dependencies
|
|
|
id: build_depends
|
|
id: build_depends
|
|
@@ -276,6 +280,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: ubuntu-latest-cmake-sanitizer-${{ matrix.sanitizer }}
|
|
key: ubuntu-latest-cmake-sanitizer-${{ matrix.sanitizer }}
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Dependencies
|
|
- name: Dependencies
|
|
|
id: depends
|
|
id: depends
|
|
@@ -396,6 +401,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: ubuntu-24-cmake-vulkan-deb
|
|
key: ubuntu-24-cmake-vulkan-deb
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Dependencies
|
|
- name: Dependencies
|
|
|
id: depends
|
|
id: depends
|
|
@@ -431,6 +437,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: ubuntu-24-cmake-vulkan
|
|
key: ubuntu-24-cmake-vulkan
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Dependencies
|
|
- name: Dependencies
|
|
|
id: depends
|
|
id: depends
|
|
@@ -490,6 +497,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: ubuntu-24-cmake-webgpu
|
|
key: ubuntu-24-cmake-webgpu
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Dependencies
|
|
- name: Dependencies
|
|
|
id: depends
|
|
id: depends
|
|
@@ -562,6 +570,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: ubuntu-latest-wasm-webgpu
|
|
key: ubuntu-latest-wasm-webgpu
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Install Emscripten
|
|
- name: Install Emscripten
|
|
|
run: |
|
|
run: |
|
|
@@ -609,6 +618,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: ubuntu-22-cmake-hip
|
|
key: ubuntu-22-cmake-hip
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Build with native CMake HIP support
|
|
- name: Build with native CMake HIP support
|
|
|
id: cmake_build
|
|
id: cmake_build
|
|
@@ -641,6 +651,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: ubuntu-22-cmake-musa
|
|
key: ubuntu-22-cmake-musa
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Build with native CMake MUSA support
|
|
- name: Build with native CMake MUSA support
|
|
|
id: cmake_build
|
|
id: cmake_build
|
|
@@ -688,6 +699,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: ubuntu-22-cmake-sycl
|
|
key: ubuntu-22-cmake-sycl
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Build
|
|
- name: Build
|
|
|
id: cmake_build
|
|
id: cmake_build
|
|
@@ -738,6 +750,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: ubuntu-22-cmake-sycl-fp16
|
|
key: ubuntu-22-cmake-sycl-fp16
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Build
|
|
- name: Build
|
|
|
id: cmake_build
|
|
id: cmake_build
|
|
@@ -771,6 +784,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: macOS-latest-cmake-ios
|
|
key: macOS-latest-cmake-ios
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Build
|
|
- name: Build
|
|
|
id: cmake_build
|
|
id: cmake_build
|
|
@@ -802,6 +816,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: macOS-latest-cmake-tvos
|
|
key: macOS-latest-cmake-tvos
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Build
|
|
- name: Build
|
|
|
id: cmake_build
|
|
id: cmake_build
|
|
@@ -863,6 +878,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: macOS-latest-swift
|
|
key: macOS-latest-swift
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Download xcframework artifact
|
|
- name: Download xcframework artifact
|
|
|
uses: actions/download-artifact@v4
|
|
uses: actions/download-artifact@v4
|
|
@@ -905,6 +921,7 @@ jobs:
|
|
|
key: windows-msys2
|
|
key: windows-msys2
|
|
|
variant: ccache
|
|
variant: ccache
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Setup ${{ matrix.sys }}
|
|
- name: Setup ${{ matrix.sys }}
|
|
|
uses: msys2/setup-msys2@v2
|
|
uses: msys2/setup-msys2@v2
|
|
@@ -973,6 +990,7 @@ jobs:
|
|
|
key: windows-latest-cmake-${{ matrix.build }}
|
|
key: windows-latest-cmake-${{ matrix.build }}
|
|
|
variant: ccache
|
|
variant: ccache
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Download OpenBLAS
|
|
- name: Download OpenBLAS
|
|
|
id: get_openblas
|
|
id: get_openblas
|
|
@@ -1077,6 +1095,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: ubuntu-latest-cmake-cuda
|
|
key: ubuntu-latest-cmake-cuda
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Build with CMake
|
|
- name: Build with CMake
|
|
|
run: |
|
|
run: |
|
|
@@ -1109,6 +1128,7 @@ jobs:
|
|
|
key: windows-cuda-${{ matrix.cuda }}
|
|
key: windows-cuda-${{ matrix.cuda }}
|
|
|
variant: ccache
|
|
variant: ccache
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Install Cuda Toolkit
|
|
- name: Install Cuda Toolkit
|
|
|
uses: ./.github/actions/windows-setup-cuda
|
|
uses: ./.github/actions/windows-setup-cuda
|
|
@@ -1160,6 +1180,7 @@ jobs:
|
|
|
key: windows-latest-cmake-sycl
|
|
key: windows-latest-cmake-sycl
|
|
|
variant: ccache
|
|
variant: ccache
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Install
|
|
- name: Install
|
|
|
run: |
|
|
run: |
|
|
@@ -1221,6 +1242,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: ${{ github.job }}
|
|
key: ${{ github.job }}
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Build
|
|
- name: Build
|
|
|
id: cmake_build
|
|
id: cmake_build
|
|
@@ -1466,6 +1488,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: ggml-ci-x64-cpu-low-perf
|
|
key: ggml-ci-x64-cpu-low-perf
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Dependencies
|
|
- name: Dependencies
|
|
|
id: depends
|
|
id: depends
|
|
@@ -1491,6 +1514,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: ggml-ci-arm64-cpu-low-perf
|
|
key: ggml-ci-arm64-cpu-low-perf
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Dependencies
|
|
- name: Dependencies
|
|
|
id: depends
|
|
id: depends
|
|
@@ -1516,6 +1540,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: ggml-ci-x64-cpu-high-perf
|
|
key: ggml-ci-x64-cpu-high-perf
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Dependencies
|
|
- name: Dependencies
|
|
|
id: depends
|
|
id: depends
|
|
@@ -1541,6 +1566,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: ggml-ci-arm64-cpu-high-perf
|
|
key: ggml-ci-arm64-cpu-high-perf
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Dependencies
|
|
- name: Dependencies
|
|
|
id: depends
|
|
id: depends
|
|
@@ -1566,6 +1592,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: ggml-ci-arm64-cpu-high-perf-sve
|
|
key: ggml-ci-arm64-cpu-high-perf-sve
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Dependencies
|
|
- name: Dependencies
|
|
|
id: depends
|
|
id: depends
|
|
@@ -1701,6 +1728,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: ggml-ci-arm64-cpu-kleidiai
|
|
key: ggml-ci-arm64-cpu-kleidiai
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Dependencies
|
|
- name: Dependencies
|
|
|
id: depends
|
|
id: depends
|
|
@@ -2084,6 +2112,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
key: ggml-ci-arm64-graviton4-kleidiai
|
|
key: ggml-ci-arm64-graviton4-kleidiai
|
|
|
evict-old-files: 1d
|
|
evict-old-files: 1d
|
|
|
|
|
+ save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
|
|
- name: Test
|
|
- name: Test
|
|
|
id: ggml-ci
|
|
id: ggml-ci
|