Skip to content

Commit c3da6d1

Browse files
committed
add cuda path
1 parent 05e643a commit c3da6d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/makefile.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
# Install other necessary dependencies like build-essential
2929
sudo apt-get install -y build-essential
3030
31+
# Add CUDA to PATH and set environment variables
32+
echo "export PATH=/usr/local/cuda-12.6/bin:$PATH" >> $GITHUB_ENV
33+
echo "export LD_LIBRARY_PATH=/usr/local/cuda-12.6/lib64:$LD_LIBRARY_PATH" >> $GITHUB_ENV
34+
3135
# Verify that CUDA is installed
3236
nvcc --version
3337
g++ --version

0 commit comments

Comments
 (0)