Skip to content

Commit

Permalink
Update compilers (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
indy256 authored Oct 15, 2022
1 parent 194428f commit b6d0b90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,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-14 main"
sudo apt-get install clang-14
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-15 main"
sudo apt-get install clang-15
- name: compile
run: |
cd cpp
find . -name '*.cpp' -print0 | xargs -n1 -0 clang++-14 -Wall -Wextra -std=c++2b
find . -name '*.cpp' -print0 | xargs -n1 -0 clang++-15 -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: 18}
- {java-version: 19}
steps:
- uses: actions/checkout@v2
- name: Set up JDK
Expand Down

0 comments on commit b6d0b90

Please sign in to comment.