Skip to content

Merge pull request #1 from kevinbackhouse/update-submodules #13

Merge pull request #1 from kevinbackhouse/update-submodules

Merge pull request #1 from kevinbackhouse/update-submodules #13

Workflow file for this run

name: Linux build and test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [g++, clang++]
build_type: [Release, Debug]
use_sanitizers: [ON, OFF]
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: build and test
run: |
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_CXX_COMPILER=${{ matrix.compiler }} -DUSE_SANITIZERS=${{ matrix.use_sanitizers }} ..
make -j $(nproc)
make test