Skip to content

Commit

Permalink
This should enable all clangs on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
Zialus committed Sep 30, 2023
1 parent 33ffd69 commit 673807e
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,16 @@ jobs:
compiler-version: 15
cc: clang-15
cxx: clang++-15
# - os: ubuntu-latest
# compiler-name: llvm
# compiler-version: 16
# cc: clang-16
# cxx: clang++-16
# - os: ubuntu-latest
# compiler-name: llvm
# compiler-version: 17
# cc: clang-17
# cxx: clang++-17
- os: ubuntu-latest
compiler-name: llvm
compiler-version: 16
cc: clang-16
cxx: clang++-16
- os: ubuntu-latest
compiler-name: llvm
compiler-version: 17
cc: clang-17
cxx: clang++-17

# Ubuntu GCC
- os: ubuntu-latest
Expand Down Expand Up @@ -143,7 +143,11 @@ jobs:

- name: Install LLVM on Ubuntu
if: ${{ matrix.os == 'ubuntu-latest' && matrix.compiler-name == 'llvm' }}
run: sudo apt-get install -y clang-${{ matrix.compiler-version }} libomp-${{ matrix.compiler-version }}-dev
run: |
- 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 673807e

Please sign in to comment.