@@ -2,7 +2,6 @@ name: Build Actions Cache
22
33on :
44 workflow_dispatch : # allows manual triggering
5- workflow_call : # reusable
65 schedule :
76 - cron : ' 0 * * * *'
87
@@ -19,54 +18,27 @@ jobs:
1918 id : checkout
2019 uses : actions/checkout@v4
2120
22- - name : Get latest Vulkan SDK version
23- id : vulkan_sdk_version
24- run : |
25- echo "VULKAN_SDK_VERSION=$(curl https://vulkan.lunarg.com/sdk/latest/linux.txt)" >> "$GITHUB_ENV"
26-
2721 - name : Cache Vulkan SDK
28- uses : ./.github/actions/cache-from-tar
29- with :
30- url : https://sdk.lunarg.com/sdk/download/latest/linux/vulkan_sdk.tar.xz
31- path : ./vulkan_sdk
32- key : vulkan-sdk-${{ env.VULKAN_SDK_VERSION }}-${{ runner.os }}
22+ uses : ./.github/actions/ubuntu-vulkan-cache
3323
3424 ubuntu-24-spacemit-cache :
3525 runs-on : ubuntu-24.04
3626
37- env :
38- SPACEMIT_IME_TOOLCHAIN_VERSION : " 1.1.2"
39-
4027 steps :
4128 - name : Clone
4229 id : checkout
4330 uses : actions/checkout@v4
4431
4532 - name : Cache SpacemiT Toolchain
46- uses : ./.github/actions/cache-from-tar
47- with :
48- url : https://archive.spacemit.com/toolchain/spacemit-toolchain-linux-glibc-x86_64-v${{ env.SPACEMIT_IME_TOOLCHAIN_VERSION }}.tar.xz
49- path : ./spacemit-toolchain
50- key : spacemit-ime-toolchain-v${{ env.SPACEMIT_IME_TOOLCHAIN_VERSION }}-${{ runner.os }}
33+ uses : ./.github/actions/ubuntu-spacemit-cache
5134
5235 windows-2022-rocm-cache :
5336 runs-on : windows-2022
5437
55- env :
56- # The ROCm version must correspond to the version used in the HIP SDK.
57- ROCM_VERSION : " 6.4.2"
58- HIPSDK_INSTALLER_VERSION : " 25.Q3"
59-
6038 steps :
6139 - name : Clone
6240 id : checkout
6341 uses : actions/checkout@v4
6442
6543 - name : Cache ROCm Installation
66- id : cache-rocm
67- uses : ./.github/actions/cache-from-exe
68- with :
69- url : https://download.amd.com/developer/eula/rocm-hub/AMD-Software-PRO-Edition-${{ env.HIPSDK_INSTALLER_VERSION }}-WinSvr2022-For-HIP.exe
70- path : C:\Program Files\AMD\ROCm
71- args : -install
72- key : rocm-${{ env.HIPSDK_INSTALLER_VERSION }}-${{ runner.os }}
44+ uses : ./.github/actions/windows-rocm-cache
0 commit comments