mirror of
https://github.com/andreinechaev/nvcc4jupyter.git
synced 2026-06-15 19:50:50 +05:30
Install opencv in test runner and update code coverage install
This commit is contained in:
@@ -36,6 +36,10 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install cuda-toolkit-12-3
|
||||
|
||||
- name: Install OpenCV
|
||||
run: |
|
||||
sudo apt install -y libopencv-dev pkg-config
|
||||
|
||||
- name: Install Python dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
@@ -65,11 +69,18 @@ jobs:
|
||||
with:
|
||||
python-version: "3.10"
|
||||
|
||||
- name: Install CUDA tools
|
||||
- name: Install CUDA toolkit
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install nvidia-cuda-toolkit
|
||||
sudo mkdir -p /usr/lib/x86_64-linux-gnu/nsight-compute/sections
|
||||
sudo apt install -y wget
|
||||
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb
|
||||
sudo dpkg -i cuda-keyring_1.1-1_all.deb
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install cuda-toolkit-12-3
|
||||
|
||||
- name: Install OpenCV
|
||||
run: |
|
||||
sudo apt install -y libopencv-dev pkg-config
|
||||
|
||||
- name: Install Python dependencies
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user