Install opencv in test runner and update code coverage install

This commit is contained in:
Cosmin Ștefan Ciocan
2024-01-27 13:35:16 +00:00
parent aaaa2605e1
commit 28637d5c64
+14 -3
View File
@@ -36,6 +36,10 @@ jobs:
sudo apt-get update sudo apt-get update
sudo apt-get -y install cuda-toolkit-12-3 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 - name: Install Python dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
@@ -65,11 +69,18 @@ jobs:
with: with:
python-version: "3.10" python-version: "3.10"
- name: Install CUDA tools - name: Install CUDA toolkit
run: | run: |
sudo apt update sudo apt update
sudo apt install nvidia-cuda-toolkit sudo apt install -y wget
sudo mkdir -p /usr/lib/x86_64-linux-gnu/nsight-compute/sections 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 - name: Install Python dependencies
run: | run: |