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