diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b98147320..39ea90d32 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -859,19 +859,20 @@ jobs: name: ubuntu-22-cuda (${{ matrix.cuda.version }} cap ${{ matrix.cuda.cap }}, e.g. ${{ matrix.cuda.example }}) steps: + - name: Dependencies + id: depends + env: + DEBIAN_FRONTEND: noninteractive + run: | + apt-get update + apt install -y cmake build-essential ninja-build libcurl4-openssl-dev libgomp1 git + - name: Clone id: checkout uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Install dependencies - env: - DEBIAN_FRONTEND: noninteractive - run: | - apt update - apt install -y cmake build-essential ninja-build libcurl4-openssl-dev libgomp1 git - - name: Build with CMake run: | cmake -S . -B build -G Ninja \