Skip to content

Fix specialized std::vector<bool> handling #37

Fix specialized std::vector<bool> handling

Fix specialized std::vector<bool> handling #37

Workflow file for this run

name: Linux/MacOS Build
on: [push, pull_request]
jobs:
tests:
name: ${{ matrix.name }} ${{ matrix.compiler }} ${{ matrix.build_type }} - ${{ matrix.lib_type }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-11, ubuntu-20.04]
compiler: [GCC, Clang]
build_type: [Debug, Release]
build_shared: [ON, OFF]
include:
- compiler: gcc
c_compiler: gcc-9
cxx_compiler: g++-9
- compiler: clang
c_compiler: clang
cxx_compiler: clang++
- os: macos-11
name: MacOS
- os: ubuntu-20.04
name: Ubuntu
- build_shared: ON
lib_type: Shared
- build_shared: OFF
lib_type: Static
steps:
- uses: lukka/get-cmake@v3.23.0
- uses: seanmiddleditch/gha-setup-ninja@v3
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Buildtools Version
run: |
${{ matrix.cxx_compiler }} --version
shell: bash
- name: Configure
run: |
mkdir build
cd build
cmake .. -GNinja -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_C_COMPILER=${{matrix.c_compiler}} -DCMAKE_CXX_COMPILER=${{matrix.cxx_compiler}} -DINICPP_BUILD_TESTS=ON -DINICPP_BUILD_EXAMPLES=ON -DINICPP_BUILD_SHARED=${{matrix.build_shared}}
shell: bash
- name: Build
run: |
cmake --build .
shell: bash
working-directory: build
- name: Tests
run: ctest . --output-on-failure
shell: bash
working-directory: build