File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CUDA
2+
3+ on : [pull_request]
4+
5+ env :
6+ CUDA_PATH : /usr/local/cuda
7+ jobs :
8+ compile-cuda :
9+ runs-on : ubuntu-22.04
10+ steps :
11+ - name : Install dependencies
12+ run : |
13+ sudo apt update
14+ sudo apt install -y --no-install-recommends wget
15+ - name : Install extra dependencies
16+ run : |
17+ wget https://developer.download.nvidia.com/compute/cuda/repos/wsl-ubuntu/x86_64/cuda-keyring_1.1-1_all.deb
18+ sudo dpkg -i cuda-keyring_1.1-1_all.deb
19+ sudo apt update
20+ sudo apt install -y cuda-toolkit
21+ - uses : actions/checkout@v3
22+ with :
23+ submodules : recursive
24+ - name : Build Open MPI
25+ run : |
26+ ./autogen.pl
27+ ./configure --prefix=${PWD}/install --with-cuda=${CUDA_PATH} --with-cuda-libdir=${CUDA_PATH}/lib64/stubs
28+ make -j
You can’t perform that action at this time.
0 commit comments