From 1dbdb7d5a98e8727865be6e90a78e9ee6fcceea2 Mon Sep 17 00:00:00 2001 From: Vasyl Skorych Date: Sun, 6 Oct 2024 17:56:42 +0200 Subject: [PATCH] ci: Linux build fix --- .github/workflows/build_linux.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_linux.yml b/.github/workflows/build_linux.yml index 2b713c2..55c2446 100644 --- a/.github/workflows/build_linux.yml +++ b/.github/workflows/build_linux.yml @@ -24,15 +24,17 @@ jobs: run: sudo apt update && sudo apt upgrade - name: Install build dependencies - run: sudo apt install build-essential cmake zlib1g-dev libprotobuf-dev protobuf-compiler libqt5opengl5-dev && g++ --version + run: sudo apt install build-essential cmake zlib1g-dev libprotobuf-dev protobuf-compiler libqt5opengl5-dev - name: Install CUDA if: ${{ matrix.os != 'ubuntu-22.04' }} - run: sudo apt install nvidia-cuda-toolkit && nvcc --version + run: sudo apt install nvidia-cuda-toolkit - name: Install CUDA versioned if: ${{ matrix.os == 'ubuntu-22.04' }} - run: ${{github.workspace}}/scripts/install_cuda.sh && nvcc --version + run: | + ${{github.workspace}}/scripts/install_cuda.sh + echo "/usr/local/cuda-11.7/bin" >> $GITHUB_PATH - name: Create build environment run: cmake -E make_directory ${{github.workspace}}/build