Skip to content

Commit

Permalink
more debugging cache
Browse files Browse the repository at this point in the history
  • Loading branch information
justinlaughlin committed Apr 16, 2024
1 parent 0f320b8 commit db228b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,18 @@ jobs:
id: cache-cuda
uses: actions/cache@v4
with:
path: ~/cache
path: ~/cuda.run
key: ${{ matrix.os }}-${{ env.cuda-installer-url }}

- name: Download CUDA
if: matrix.cuda && steps.cache-cuda.outputs.cache-hit != 'true'
run: wget -q -O ~/cache/cuda.run ${{ env.cuda-installer-url }}
run: wget -q -O ~/cuda.run ${{ env.cuda-installer-url }}

- name: Install CUDA
if: matrix.cuda
run: |
# The --silent flag is necessary to bypass user-input, e.g. accepting the EULA
sudo sh ~/cache/cuda.run --silent --toolkit
sudo sh ~/cuda.run --silent --toolkit
echo "/usr/local/cuda/bin" >> $GITHUB_PATH
- name: Print CUDA
Expand Down

0 comments on commit db228b5

Please sign in to comment.