diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 6302c33..6fd0462 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -144,12 +144,10 @@ jobs: - name: Install LLVM on Ubuntu if: ${{ matrix.os == 'ubuntu-latest' && matrix.compiler-name == 'llvm' }} run: | - - sudo apt-get update - - sudo apt-get install -y software-properties-common - - sudo add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main" - - sudo add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main" - - sudo apt-get update - - sudo apt-get install -y clang-${{ matrix.compiler-version }} libomp-${{ matrix.compiler-version }}-dev + sudo add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main" + sudo add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main" + sudo apt-get update + sudo apt-get install -y clang-${{ matrix.compiler-version }} libomp-${{ matrix.compiler-version }}-dev - name: Install GCC on Ubuntu if: ${{ matrix.os == 'ubuntu-latest' && matrix.compiler-name == 'gcc' }}