echodict/llama.cpp
version https://git-lfs.github.com/spec/v1 oid sha256:cfc44b7ba25614df70e6b65e3341cae0310163bd32fd31a6b928a542df433faf size 30786
0773
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-vulkan-cache:14 runs-on: ubuntu-24.0415 16 steps:17 - name: Clone18 id: checkout19 uses: actions/checkout@v620 21 - name: Get latest Vulkan SDK version22 id: vulkan_sdk_version23 run: |24 echo "VULKAN_SDK_VERSION=$(curl https://vulkan.lunarg.com/sdk/latest/linux.txt)" >> "$GITHUB_ENV"25 26 - name: Setup Cache27 uses: actions/cache@v528 id: cache-sdk29 with:30 path: ./vulkan_sdk31 key: vulkan-sdk-${{ env.VULKAN_SDK_VERSION }}-${{ runner.os }}32 33 - name: Setup Vulkan SDK34 if: steps.cache-sdk.outputs.cache-hit != 'true'35 uses: ./.github/actions/linux-setup-vulkan36 with:37 path: ./vulkan_sdk38 version: ${{ env.VULKAN_SDK_VERSION }}39 40 #ubuntu-24-spacemit-cache:41 # runs-on: ubuntu-24.0442 43 # env:44 # # Make sure this is in sync with build-linux-cross.yml45 # SPACEMIT_IME_TOOLCHAIN_VERSION: "1.1.2"46 47 # steps:48 # - name: Clone49 # id: checkout50 # uses: actions/checkout@v651 52 # - name: Setup Cache53 # uses: actions/cache@v554 # id: cache-toolchain55 # with:56 # path: ./spacemit_toolchain57 # key: spacemit-ime-toolchain-v${{ env.SPACEMIT_IME_TOOLCHAIN_VERSION }}-${{ runner.os }}58 59 # - name: Setup SpacemiT Toolchain60 # if: steps.cache-toolchain.outputs.cache-hit != 'true'61 # uses: ./.github/actions/linux-setup-spacemit62 # with:63 # path: ./spacemit_toolchain64 # version: ${{ env.SPACEMIT_IME_TOOLCHAIN_VERSION }}65 66 ubuntu-24-openvino-cache:67 runs-on: ubuntu-24.0468 69 env:70 # Sync versions in build.yml, build-self-hosted.yml, release.yml, build-cache.yml, .devops/openvino.Dockerfile71 OPENVINO_VERSION_MAJOR: "2026.0"72 OPENVINO_VERSION_FULL: "2026.0.0.20965.c6d6a13a886"73 74 steps:75 - name: Clone76 id: checkout77 uses: actions/checkout@v678 79 - name: Setup Cache80 uses: actions/cache@v581 id: cache-openvino82 with:83 path: ./openvino_toolkit84 key: openvino-toolkit-v${{ env.OPENVINO_VERSION_FULL }}-${{ runner.os }}85 86 - name: Setup OpenVINO Toolkit87 if: steps.cache-openvino.outputs.cache-hit != 'true'88 uses: ./.github/actions/linux-setup-openvino89 with:90 path: ./openvino_toolkit91 version_major: ${{ env.OPENVINO_VERSION_MAJOR }}92 version_full: ${{ env.OPENVINO_VERSION_FULL }}93 94 windows-2022-rocm-cache:95 runs-on: windows-202296 97 env:98 # Make sure this is in sync with build.yml99 HIPSDK_INSTALLER_VERSION: "26.Q1"100 101 steps:102 - name: Clone103 id: checkout104 uses: actions/checkout@v6105 106 - name: Setup Cache107 uses: actions/cache@v5108 id: cache-rocm109 with:110 path: C:\Program Files\AMD\ROCm111 key: rocm-${{ env.HIPSDK_INSTALLER_VERSION }}-${{ runner.os }}112 113 - name: Setup ROCm114 if: steps.cache-rocm.outputs.cache-hit != 'true'115 uses: ./.github/actions/windows-setup-rocm116 with:117 version: ${{ env.HIPSDK_INSTALLER_VERSION }}118 