Skip to content

WIP

WIP #37

Workflow file for this run

name: CI
on: [push]
jobs:
build_frozen:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
cxxstandard:
- 14
- 17
- 2a
stdlib:
- libc++
- libstdc++
compiler:
- g++-10
- g++-11
- g++-12
- g++-13
- clang++-13
- clang++-14
- clang++-15
exclude:
- compiler: g++-10
stdlib: libc++
- compiler: g++-11
stdlib: libc++
- compiler: g++-12
stdlib: libc++
- compiler: g++-13
stdlib: libc++
- compiler: clang++-13
stdlib: libstdc++
- compiler: clang++-14
stdlib: libstdc++
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install libcxx
run: sudo apt install -y libc++-dev
- name: Prepare
run: cmake -E make_directory build
- name: Configure
working-directory: build
env:
CXX: ${{matrix.compiler}}
CXXFLAGS: -std=c++${{matrix.cxxstandard}} -stdlib=${{matrix.stdlib}}
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