Skip to content

Docs

Docs #55

Workflow file for this run

name: Ubuntu
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
jobs:
ubuntu_gcc:
runs-on: ubuntu-latest
strategy:
matrix:
gcc: ['9', '10', '11', '12']
env:
CC: gcc-${{ matrix.gcc }}
CXX: g++-${{ matrix.gcc }}
steps:
- uses: actions/checkout@v3
- name: Install nlohmann::json & boost::histogram
run: |
sudo apt-get -y update
sudo apt-get install -y nlohmann-json3-dev
sudo apt-get -y install libboost-dev
- name: Run CMake
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DANALOGICAL_TESTS=ON
- name: Build
run: cmake --build build --parallel 4
- name: Test
run: cd build ; ctest -j 4 --output-on-failure