Skip to content

Commit 5d812a4

Browse files
committed
ci : move cuda-toolkit installation before configuring sccache
This commit moves the installation of the CUDA Toolkit before configuring sccache. This is to aviod it being cached.
1 parent 64eeff6 commit 5d812a4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,12 @@ jobs:
597597
variant: sccache
598598
evict-old-files: 1d
599599

600+
- name: Install CUDA Toolkit
601+
id: cuda-toolkit
602+
uses: Jimver/[email protected]
603+
with:
604+
cuda: '${{ matrix.cuda-toolkit }}'
605+
600606
- name: Configure CUDA compilation cache
601607
run: |
602608
New-Item -Path "${{ github.workspace }}\cuda_cache" -ItemType Directory -Force
@@ -614,12 +620,6 @@ jobs:
614620
- name: Add msbuild to PATH
615621
uses: microsoft/setup-msbuild@v2
616622

617-
- name: Install CUDA Toolkit
618-
id: cuda-toolkit
619-
uses: Jimver/[email protected]
620-
with:
621-
cuda: '${{ matrix.cuda-toolkit }}'
622-
623623
- name: Install 7-Zip
624624
run: choco install 7zip -y
625625

0 commit comments

Comments
 (0)