source:
git/.circleci/config.yml@
95fbe30
Last change on this file since 95fbe30 was 73bc3ca, checked in by , 7 years ago | |
---|---|
|
|
File size: 815 bytes |
Rev | Line | |
---|---|---|
[58cfe91] | 1 | version: 2 |
2 | jobs: | |
3 | build: | |
4 | docker: | |
[34fba84] | 5 | - image: delphes/docker-ubuntu-1710:latest |
[58cfe91] | 6 | steps: |
[34fba84] | 7 | - checkout |
[58cfe91] | 8 | - run: |
[34fba84] | 9 | name: Setup environment |
[3a5f1f4] | 10 | command: | |
11 | echo 'export ROOTSYS=/opt/root' >> $BASH_ENV | |
12 | echo 'export PATH=$ROOTSYS/bin:$PATH' >> $BASH_ENV | |
13 | echo 'export PYTHONPATH=$ROOTSYS/lib:$PYTHONPATH' >> $BASH_ENV | |
14 | echo 'export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH' >> $BASH_ENV | |
[457f481] | 15 | echo 'export PYTHIA8=/opt/pythia' >> $BASH_ENV |
[3a5f1f4] | 16 | - run: |
[73bc3ca] | 17 | name: Build Delphes using make |
[1ece4e2] | 18 | command: | |
[457f481] | 19 | make -j `nproc` HAS_PYTHIA8=true |
[73bc3ca] | 20 | - run: |
21 | name: Build Delphes using cmake | |
22 | command: | | |
23 | mkdir -p build | |
24 | cd build | |
25 | cmake .. | |
26 | make -j `nproc` |
Note:
See TracBrowser
for help on using the repository browser.