From b32d95a8871a49c0d76138aee70948d5e9060368 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Mon, 5 Jun 2023 03:26:52 +0300 Subject: [PATCH] Add clang-16 CI jobs, switch to clang-15 from stock Ubuntu repos. --- .github/workflows/ci.yml | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1f40f6..3764cdf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -236,27 +236,33 @@ jobs: os: ubuntu-22.04 install: - clang-15 - sources: - - "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-15 main" - source_keys: - - "https://apt.llvm.org/llvm-snapshot.gpg.key" - toolset: clang - compiler: clang++-15 + compiler: clang++-16 cxxstd: "03,11,14,17,20,2b" os: ubuntu-22.04 install: - - clang-15 - - libc++-15-dev - - libc++abi-15-dev + - clang-16 sources: - - "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-15 main" + - "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main" + source_keys: + - "https://apt.llvm.org/llvm-snapshot.gpg.key" + - toolset: clang + compiler: clang++-16 + cxxstd: "03,11,14,17,20,2b" + os: ubuntu-22.04 + install: + - clang-16 + - libc++-16-dev + - libc++abi-16-dev + sources: + - "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main" source_keys: - "https://apt.llvm.org/llvm-snapshot.gpg.key" cxxflags: -stdlib=libc++ linkflags: -stdlib=libc++ - name: UBSAN toolset: clang - compiler: clang++-14 + compiler: clang++-15 cxxstd: "03,11,14,17,20,2b" cxxflags: -stdlib=libc++ linkflags: -stdlib=libc++ @@ -264,9 +270,9 @@ jobs: build_variant: debug os: ubuntu-22.04 install: - - clang-14 - - libc++-14-dev - - libc++abi-14-dev + - clang-15 + - libc++-15-dev + - libc++abi-15-dev - toolset: clang cxxstd: "03,11,14,17,2a"