Felipe97/llama-cpp-compiled
01.2k
1name: Build Actions Cache2 3on:4 workflow_dispatch: # allows manual triggering5 schedule:6 - cron: '0 * * * *'7 8concurrency:9 group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}10 cancel-in-progress: true11 12jobs:13 #ubuntu-24-spacemit-cache:14 # runs-on: ubuntu-24.0415 16 # env:17 # # Make sure this is in sync with build-linux-cross.yml18 # SPACEMIT_IME_TOOLCHAIN_VERSION: "1.1.2"19 20 # steps:21 # - name: Clone22 # id: checkout23 # uses: actions/checkout@v624 25 # - name: Setup Cache26 # uses: actions/cache@v527 # id: cache-toolchain28 # with:29 # path: ./spacemit_toolchain30 # key: cache-gha-spacemit-ime-toolchain-v${{ env.SPACEMIT_IME_TOOLCHAIN_VERSION }}-${{ runner.os }}31 32 # - name: Setup SpacemiT Toolchain33 # if: steps.cache-toolchain.outputs.cache-hit != 'true'34 # uses: ./.github/actions/linux-setup-spacemit35 # with:36 # path: ./spacemit_toolchain37 # version: ${{ env.SPACEMIT_IME_TOOLCHAIN_VERSION }}38 39 ubuntu-24-openvino-cache:40 runs-on: ubuntu-24.0441 42 env:43 # Sync versions in build-openvino.yml, build-self-hosted.yml, release.yml, build-cache.yml, .devops/openvino.Dockerfile44 OPENVINO_VERSION_MAJOR: "2026.4"45 OPENVINO_VERSION_FULL: "2026.4.0.22959.99c81491cc3"46 47 steps:48 - name: Clone49 id: checkout50 uses: actions/checkout@v651 52 - name: Setup Cache53 uses: actions/cache@v554 id: cache-openvino55 with:56 path: ./openvino_toolkit57 key: cache-gha-openvino-toolkit-v${{ env.OPENVINO_VERSION_FULL }}-${{ runner.os }}58 59 - name: Setup OpenVINO Toolkit60 if: steps.cache-openvino.outputs.cache-hit != 'true'61 uses: ./.github/actions/linux-setup-openvino62 with:63 path: ./openvino_toolkit64 version_major: ${{ env.OPENVINO_VERSION_MAJOR }}65 version_full: ${{ env.OPENVINO_VERSION_FULL }}66 67 windows-2022-openvino-cache:68 runs-on: windows-202269 70 env:71 # Sync versions in build.yml, build-self-hosted.yml, release.yml, build-cache.yml, .devops/openvino.Dockerfile72 OPENVINO_VERSION_MAJOR: "2026.4"73 OPENVINO_VERSION_FULL: "2026.4.0.22959.99c81491cc3"74 75 steps:76 - name: Clone77 id: checkout78 uses: actions/checkout@v679 80 - name: Setup Cache81 uses: actions/cache@v582 id: cache-openvino83 with:84 path: ./openvino_toolkit85 key: cache-gha-openvino-toolkit-v${{ env.OPENVINO_VERSION_FULL }}-${{ runner.os }}86 87 - name: Setup OpenVINO Toolkit88 if: steps.cache-openvino.outputs.cache-hit != 'true'89 uses: ./.github/actions/windows-setup-openvino90 with:91 path: ./openvino_toolkit92 version_major: ${{ env.OPENVINO_VERSION_MAJOR }}93 version_full: ${{ env.OPENVINO_VERSION_FULL }}94 95 # windows-2022-rocm-cache:96 # runs-on: windows-202297 98 # env:99 # # Make sure this is in sync with release.yml and build-cuda-windows.yml100 # ROCM_VERSION: "7.14.0"101 102 # steps:103 # - name: Clone104 # id: checkout105 # uses: actions/checkout@v6106 107 # - name: Setup Cache108 # uses: actions/cache@v5109 # id: cache-rocm110 # with:111 # path: C:\TheRock\build112 # key: rocm-wheels-${{ env.ROCM_VERSION }}-multi-arch-${{ runner.os }}113 114 # - name: Setup ROCm115 # if: steps.cache-rocm.outputs.cache-hit != 'true'116 # uses: ./.github/actions/windows-setup-rocm117 # with:118 # version: ${{ env.ROCM_VERSION }}119 