WIP #25
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
name: CI | ||
on: [push] | ||
jobs: | ||
build_frozen: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
compiler: | ||
# - g++-9 | ||
- g++-10 | ||
- g++-11 | ||
- g++-12 | ||
- g++-13 | ||
# - clang++-12 | ||
- clang++-13 | ||
- clang++-14 | ||
- clang++-15 | ||
cmake_args: | ||
- "" | ||
cxxstandard: | ||
- 14 | ||
- 17 | ||
- 2a | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 1 | ||
- name: Prepare | ||
run: cmake -E make_directory build | ||
- name: Configure | ||
working-directory: build | ||
env: | ||
CXX: ${{matrix.compiler}} | ||
CXXFLAGS: -std=c++${{matrix.cxxstandard}} ${{ matrix.compiler == "clang++-14" && "-stdlib=libc++" }} | ||
Check failure on line 40 in .github/workflows/linux.yml GitHub Actions / CIInvalid workflow file
|
||
run: cmake -DCMAKE_BUILD_TYPE=DEBUG "-Dfrozen.coverage=ON" -DCMAKE_VERBOSE_MAKEFILE=ON .. | ||
- name: Build | ||
working-directory: build | ||
run: cmake --build . | ||
- name: Test | ||
working-directory: build | ||
run: cmake --build . --target test |