-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,21 +14,14 @@ jobs: | |
strategy: | ||
matrix: | ||
build-type: ["Release", "Debug"] | ||
gcc-version: ["11"] | ||
gcc-version: ["11", "12", "latest"] | ||
container: gcc:${{ matrix.gcc-version }} | ||
steps: | ||
- name: ccache | ||
uses: hendrikmuhs/ccache-action@v1 | ||
- name: C++ Setting | ||
run: | | ||
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test | ||
sudo apt-get update | ||
sudo apt-get install -yq g++-${{matrix.gcc-version}} gcc-${{matrix.gcc-version}} libc++-dev libc++abi-dev build-essential libstdc++-${{matrix.gcc-version}}-dev cmake | ||
- name: Compiler Setting | ||
run: | | ||
echo "CC=gcc-${{matrix.gcc-version}}" >> $GITHUB_ENV | ||
echo "CXX=g++-${{matrix.gcc-version}}" >> $GITHUB_ENV | ||
- name: Clone Repository | ||
uses: actions/checkout@master | ||
- name: Get latest CMake and ninja | ||
uses: lukka/[email protected] | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: CMake build | ||
|
@@ -48,21 +41,16 @@ jobs: | |
strategy: | ||
matrix: | ||
build-type: ["Release", "Debug"] | ||
clang-version: ["13", "14", "15"] | ||
clang-version: | ||
["8", "9", "10", "11", "12", "13", "14", "15-bullseye", "latest"] | ||
container: silkeh/clang:${{ matrix.compiler }} | ||
steps: | ||
- name: ccache | ||
uses: hendrikmuhs/ccache-action@v1 | ||
- name: C++ Setting | ||
run: | | ||
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test | ||
sudo apt-get update | ||
sudo apt-get install -yq clang-${{matrix.clang-version}} libc++-dev libc++abi-dev libstdc++-${{matrix.clang-version}}-dev build-essential cmake | ||
- name: Compiler Setting | ||
run: | | ||
echo "CC=clang-${{matrix.clang-version}}" >> $GITHUB_ENV | ||
echo "CXX=clang++-${{matrix.clang-version}}" >> $GITHUB_ENV | ||
- name: Get latest CMake | ||
uses: lukka/[email protected] | ||
- name: Clone Repository | ||
uses: actions/checkout@master | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: CMake build | ||
|