Skip to content

Commit b5f92bd

Browse files
committed
add cuda export
1 parent 6898db7 commit b5f92bd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test-gpu.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ jobs:
6767
with:
6868
python-version: ${{ matrix.env.python }}
6969

70+
- name: Add CUDA to PATH
71+
run: |
72+
echo "/usr/local/cuda/bin" >> $GITHUB_PATH
73+
echo "LD_LIBRARY_PATH=/usr/local/cuda/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}" >> $GITHUB_ENV
74+
7075
- name: Check CUDA version
7176
run: nvcc --version
7277

0 commit comments

Comments
 (0)