Skip to content

Work In Progress (WIP) #1332

Work In Progress (WIP)

Work In Progress (WIP) #1332

Workflow file for this run

name: linux
on: [push, pull_request]
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sio: [ON]
LCG: ["LCG_99/x86_64-centos7-gcc8-opt",
"LCG_99/x86_64-centos7-clang10-opt",
"LCG_99/x86_64-centos8-gcc10-opt",
"dev3/x86_64-centos7-clang12-opt",
"dev4/x86_64-centos7-gcc11-opt",
"dev4/x86_64-centos7-clang12-opt"]
steps:
- uses: actions/checkout@v2
- uses: cvmfs-contrib/github-action-cvmfs@v2
- uses: aidasoft/run-lcg-view@v2
with:
release-platform: ${{ matrix.LCG }}
run: |
mkdir build install
cd build
cmake -DENABLE_SIO=${{ matrix.sio }} \
-DCMAKE_INSTALL_PREFIX=../install \
-DCMAKE_CXX_STANDARD=17 \
-DCMAKE_CXX_FLAGS=" -fdiagnostics-color=always -Werror " \
-DUSE_EXTERNAL_CATCH2=OFF \
-G Ninja ..
ninja -k0
ctest --output-on-failure
ninja install