| name: Build Actions Cache |
|
|
| on: |
| workflow_dispatch: |
| schedule: |
| - cron: '0 * * * *' |
|
|
| concurrency: |
| group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }} |
| cancel-in-progress: true |
|
|
| jobs: |
| ubuntu-24-vulkan-cache: |
| runs-on: ubuntu-24.04 |
|
|
| steps: |
| - name: Clone |
| id: checkout |
| uses: actions/checkout@v6 |
|
|
| - name: Get latest Vulkan SDK version |
| id: vulkan_sdk_version |
| run: | |
| echo "VULKAN_SDK_VERSION=$(curl https://vulkan.lunarg.com/sdk/latest/linux.txt)" >> "$GITHUB_ENV" |
| |
| - name: Setup Cache |
| uses: actions/cache@v5 |
| id: cache-sdk |
| with: |
| path: ./vulkan_sdk |
| key: vulkan-sdk-${{ env.VULKAN_SDK_VERSION }}-${{ runner.os }} |
|
|
| - name: Setup Vulkan SDK |
| if: steps.cache-sdk.outputs.cache-hit != 'true' |
| uses: ./.github/actions/linux-setup-vulkan |
| with: |
| path: ./vulkan_sdk |
| version: ${{ env.VULKAN_SDK_VERSION }} |
|
|
| |
| |
|
|
| |
| |
| |
|
|
| |
| |
| |
| |
|
|
| |
| |
| |
| |
| |
| |
|
|
| |
| |
| |
| |
| |
| |
|
|
| ubuntu-24-openvino-cache: |
| runs-on: ubuntu-24.04 |
|
|
| env: |
| |
| OPENVINO_VERSION_MAJOR: "2026.0" |
| OPENVINO_VERSION_FULL: "2026.0.0.20965.c6d6a13a886" |
|
|
| steps: |
| - name: Clone |
| id: checkout |
| uses: actions/checkout@v6 |
|
|
| - name: Setup Cache |
| uses: actions/cache@v5 |
| id: cache-openvino |
| with: |
| path: ./openvino_toolkit |
| key: openvino-toolkit-v${{ env.OPENVINO_VERSION_FULL }}-${{ runner.os }} |
|
|
| - name: Setup OpenVINO Toolkit |
| if: steps.cache-openvino.outputs.cache-hit != 'true' |
| uses: ./.github/actions/linux-setup-openvino |
| with: |
| path: ./openvino_toolkit |
| version_major: ${{ env.OPENVINO_VERSION_MAJOR }} |
| version_full: ${{ env.OPENVINO_VERSION_FULL }} |
|
|
| windows-2022-rocm-cache: |
| runs-on: windows-2022 |
|
|
| env: |
| |
| HIPSDK_INSTALLER_VERSION: "26.Q1" |
|
|
| steps: |
| - name: Clone |
| id: checkout |
| uses: actions/checkout@v6 |
|
|
| - name: Setup Cache |
| uses: actions/cache@v5 |
| id: cache-rocm |
| with: |
| path: C:\Program Files\AMD\ROCm |
| key: rocm-${{ env.HIPSDK_INSTALLER_VERSION }}-${{ runner.os }} |
|
|
| - name: Setup ROCm |
| if: steps.cache-rocm.outputs.cache-hit != 'true' |
| uses: ./.github/actions/windows-setup-rocm |
| with: |
| version: ${{ env.HIPSDK_INSTALLER_VERSION }} |
|
|