Skip to content

Commit 7d58e39

Browse files
add clang-13 to CI
1 parent 6125a37 commit 7d58e39

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ jobs:
4242
- name: build-ubuntu-clang12
4343
CXX: clang++-12
4444
INSTALL_EXTRA: clang-12
45+
- name: build-ubuntu-clang13
46+
CXX: clang++-13
47+
ADD_LLVM_REPO: true
48+
INSTALL_EXTRA: clang-13
4549
- name: build-ubuntu-icpc
4650
CXX: icpc
4751
INSTALL_ONEAPI: true
@@ -52,6 +56,11 @@ jobs:
5256
- uses: actions/checkout@v2
5357
with:
5458
submodules: true
59+
- name: add LLVM APT repo
60+
if: matrix.ADD_LLVM_REPO
61+
run: |
62+
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
63+
sudo add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-13 main'
5564
- name: install OneAPI
5665
if: ${{ matrix.INSTALL_ONEAPI }}
5766
run: |

0 commit comments

Comments
 (0)