File tree Expand file tree Collapse file tree 2 files changed +5
-15
lines changed Expand file tree Collapse file tree 2 files changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -30,19 +30,11 @@ jobs:
3030 with :
3131 submodules : recursive
3232
33- - uses : actions/setup-python@v5
34- with :
35- python-version : ' 3.12'
36-
37- - name : Install CUDA
38- env :
39- cuda : ${{ matrix.cuda }}
40- run : source ./scripts/install_cuda_ubuntu.sh
41- shell : bash
42-
43- - name : Export gcc and g++ variables
33+ - name : Set environment variables
4434 run : |
45- sudo apt-get install -y gcc-${{ matrix.gcc }} g++-${{ matrix.gcc }}
35+ echo "CUDA_PATH=/usr/local/cuda-12.8" >> $GITHUB_ENV
36+ echo "${CUDA_PATH}/bin" >> $GITHUB_PATH
37+ echo "LD_LIBRARY_PATH=${CUDA_PATH}/lib64:${LD_LIBRARY_PATH} >> $GITHUB_ENV
4638 echo "СС=/usr/bin/gcc-${{ matrix.gcc }}" >> $GITHUB_ENV
4739 echo "CXX=/usr/bin/g++-${{ matrix.gcc }}" >> $GITHUB_ENV
4840 echo "CUDAHOSTCXX=/usr/bin/g++-${{ matrix.gcc }}" >> $GITHUB_ENV
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ name: Ubuntu
44
55on :
66 push :
7- branches : [ master ]
7+ branches : [ master, self-hosted-runner ]
88 pull_request :
99 branches : [ master ]
1010 workflow_dispatch :
3434 python-version : ' 3.12'
3535
3636 - name : Install CUDA
37- env :
38- cuda : ${{ matrix.cuda }}
3937 run : |
4038 source ./scripts/install_cuda_ubuntu.sh
4139 if [[ $? -eq 0 ]]; then
You can’t perform that action at this time.
0 commit comments