Skip to content

Commit

Permalink
Bump clang to 16, java to 21 (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
indy256 committed Jan 27, 2024
1 parent 2151a1b commit 478e019
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
matrix:
config:
- {compiler-options: "-Wall -Wextra -std=c++20"}
- {compiler-options: "-Wall -Wextra -Wno-sign-compare -std=c++2b"}
- {compiler-options: "-fanalyzer -Wno-analyzer-null-dereference -std=c++2b"}
- {compiler-options: "-Wall -Wextra -Wno-sign-compare -std=c++23"}
- {compiler-options: "-fanalyzer -Wno-analyzer-null-dereference -std=c++23"}
steps:
- uses: actions/checkout@v2
- name: install g++
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
matrix:
config:
- {java-version: 1.8}
- {java-version: 20}
- {java-version: 21}
steps:
- uses: actions/checkout@v2
- name: Set up JDK
Expand Down

0 comments on commit 478e019

Please sign in to comment.