From c1bf2b5adee18bf54d295704e7a1e206b926a1ee Mon Sep 17 00:00:00 2001 From: Andrei Navumenka Date: Fri, 26 Jan 2024 23:08:11 -0500 Subject: [PATCH] Bump clang to 17, java to 21 --- .github/workflows/cpp.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml index b1a05a87..0f71d1da 100644 --- a/.github/workflows/cpp.yml +++ b/.github/workflows/cpp.yml @@ -33,12 +33,12 @@ jobs: - name: install clang run: | sudo apt-key adv --fetch-keys https://apt.llvm.org/llvm-snapshot.gpg.key - sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-16 main" - sudo apt-get install clang-16 + sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-17 main" + sudo apt-get install clang-17 - name: compile run: | cd cpp - find . -name '*.cpp' -print0 | xargs -n1 -0 clang++-16 -Wall -Wextra -std=c++2b + find . -name '*.cpp' -print0 | xargs -n1 -0 clang++-17 -Wall -Wextra -std=c++2b build-macos-clang: runs-on: macos-latest