Make sure to populat the include_dirs of the lcio target #196
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: linux | |
on: [push, pull_request] | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
LCG: ["LCG_97/x86_64-centos7-gcc8-opt", | |
"LCG_101/x86_64-centos7-gcc11-opt", | |
"LCG_102/x86_64-centos7-gcc11-opt", | |
"LCG_102/x86_64-centos7-clang12-opt", | |
"LCG_102/x86_64-ubuntu2004-gcc9-opt"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cvmfs-contrib/github-action-cvmfs@v3 | |
- uses: aidasoft/run-lcg-view@v4 | |
with: | |
release-platform: ${{ matrix.LCG }} | |
run: | | |
mkdir build install | |
cd build | |
cmake -DCMAKE_CXX_STANDARD=17 \ | |
-DBUILD_ROOTDICT=ON \ | |
-DCMAKE_CXX_FLAGS="-fdiagnostics-color=always -Werror" \ | |
-DCMAKE_INSTALL_PREFIX=../install \ | |
.. | |
make -k | |
make install | |
ctest --output-on-failure |