From aaaa2605e1c7747859a365f07b6f50e70a71fe92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cosmin=20=C8=98tefan=20Ciocan?= <57830279+cosminc98@users.noreply.github.com> Date: Sat, 27 Jan 2024 13:26:33 +0000 Subject: [PATCH] Install latest CUDA toolkit on the test runner to pass the OpenCV compilation test --- .github/workflows/test.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6fd78e1..501e7e5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,14 +27,14 @@ jobs: with: python-version: ${{ matrix.python-version }} - # the mkdir command bypasses a profiler error, which allows us to run it - # with host code only to at least check that the profiler parameters are - # correctly provided - - 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 Python dependencies run: |