This commit is contained in:
Saeed Maleki 2021-06-30 23:31:51 +00:00
Родитель b8f50e895f
Коммит 1e87099307
1 изменённых файлов: 5 добавлений и 6 удалений

11
.github/workflows/codeql-analysis.yml поставляемый
Просмотреть файл

@ -64,13 +64,12 @@ jobs:
# uses a compiled language
- run: |
wget -O /etc/apt/preferences.d/cuda-repository-pin-600 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
add-apt-repository "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /"
apt install cuda -y
ls /usr/local/
sudo wget -O /etc/apt/preferences.d/cuda-repository-pin-600 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
sudo add-apt-repository "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /"
sudo apt install cuda -y
export PATH=/usr/local/cuda/bin${PATH:+:${PATH}}
make -j src.build NVCC_GENCODE="-gencode=arch=compute_70,code=sm_70"
make src.build NVCC_GENCODE="-gencode=arch=compute_70,code=sm_70"
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1