Make sure that LCIO installations are cleanly consumable with builtin SIO #176
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: python_bindings | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cvmfs-contrib/github-action-cvmfs@v3 | |
- uses: aidasoft/run-lcg-view@v4 | |
with: | |
release-platform: "LCG_101/x86_64-centos7-gcc10-opt" | |
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 \ | |
-G Ninja \ | |
.. | |
ninja -k0 install | |
cd ../install | |
source ../setup.sh | |
cd ../ | |
rm -r $(ls | grep -v install) | |
python $LCIO/python/examples/EventBuilder.py test.slcio 1 | |
python $LCIO/python/examples/readMCParticles.py test.slcio |