Skip to content

Commit

Permalink
Bump java and c++ versions
Browse files Browse the repository at this point in the history
  • Loading branch information
indy256 committed Aug 6, 2023
1 parent 7b6a7fa commit e952b16
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 20 deletions.
25 changes: 6 additions & 19 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ master ]

jobs:
build-ubuntu-gcc-11:
build-ubuntu-gcc-13:
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -20,24 +20,11 @@ jobs:
- name: install g++
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get install g++-11
sudo apt-get install g++-13
- name: compile
run: |
cd cpp
find . -name '*.cpp' -print0 | xargs -n1 -0 g++-11 ${{ matrix.config.compiler-options }}
build-ubuntu-gcc-7-warnings:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install g++-7
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get install g++-7
- name: compile
run: |
cd cpp
find . -name '*.cpp' -print0 | xargs -n1 -0 g++-7 -Wall -Wextra -std=c++17
find . -name '*.cpp' -print0 | xargs -n1 -0 g++-13 ${{ matrix.config.compiler-options }}
build-ubuntu-clang:
runs-on: ubuntu-latest
Expand All @@ -46,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-15 main"
sudo apt-get install clang-15
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-16 main"
sudo apt-get install clang-16
- name: compile
run: |
cd cpp
find . -name '*.cpp' -print0 | xargs -n1 -0 clang++-15 -Wall -Wextra -std=c++2b
find . -name '*.cpp' -print0 | xargs -n1 -0 clang++-16 -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: 19}
- {java-version: 20}
steps:
- uses: actions/checkout@v2
- name: Set up JDK
Expand Down

0 comments on commit e952b16

Please sign in to comment.