forked from iLCSoft/LCIO
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 935 Bytes
/
python_bindings.yml
File metadata and controls
32 lines (29 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: python_bindings
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: cvmfs-contrib/github-action-cvmfs@v2
- uses: aidasoft/run-lcg-view@v3
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" \
-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