Skip to content

Commit

Permalink
Fix add-apt-repository command not found
Browse files Browse the repository at this point in the history
  • Loading branch information
Zialus authored Feb 7, 2024
1 parent 7a43ed9 commit 4fe44de
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down

0 comments on commit 4fe44de

Please sign in to comment.