Skip to content

Disabled dependency on Boost timer #2

Disabled dependency on Boost timer

Disabled dependency on Boost timer #2

Workflow file for this run

name: Linux CI
on:
push:
branches-ignore:
- "ghxyz"
paths:
- ".github/workflows/linux.yml"
- "environment/cmake/**"
- "source/**"
jobs:
build:
strategy:
matrix:
os: ["ubuntu-22.04"]
compiler:
- {version: 9, cc: gcc-9, cxx: g++-9}
- {version: 12, cc: gcc-12, cxx: g++-12}
- {version: 11, cc: clang-11, cxx: clang++-11}
- {version: 14, cc: clang-14, cxx: clang++-14}
fail-fast: false
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} / ${{ matrix.compiler.cxx }}
steps:
- name: checkout fern
uses: actions/checkout@v3
with:
submodules: recursive
- name: configure system
run: |
sudo apt install ${{ matrix.compiler.cc }} cmake ninja-build libboost-all-dev
- name: configure fern
shell: bash -l {0}
run: |
mkdir build
cmake \
-S . \
-B build \
-G "Ninja Multi-Config" \
-D CMAKE_CXX_COMPILER=${{ matrix.compiler.cxx }} \
-D CMAKE_CONFIGURATION_TYPES="Release;Debug" \
-D FERN_BUILD_ALGORITHM=TRUE \
-D FERN_BUILD_TEST=TRUE
- name: build debug
shell: bash -l {0}
run: |
cmake --build build --config Debug --target all
- name: build release
shell: bash -l {0}
run: |
cmake --build build --config Release --target all
- name: test debug
shell: bash -l {0}
run: |
ctest --test-dir build --output-on-failure --build-config Debug
- name: test release
shell: bash -l {0}
run: |
ctest --test-dir build --output-on-failure --build-config Release