Skip to content
This repository has been archived by the owner on Feb 10, 2025. It is now read-only.

Exclude python anajob tests in LCG_97 based workflow #55

Exclude python anajob tests in LCG_97 based workflow

Exclude python anajob tests in LCG_97 based workflow #55

Workflow file for this run

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
if [[ ${{ matrix.LCG }} =~ LCG_97 ]]; then
ctest --output-on-failure -E t_anajob_py
else
ctest --output-on-failure
fi
echo "::group::Test downstream build"
cd -
export CMAKE_PREFIX_PATH=$PWD/install:$CMAKE_PREFIX_PATH
cd tests/downstream-project-cmake-test
mkdir build && cd build
cmake .. -DCMAKE_CXX_STANDARD=17
make -k