Fork me on GitHub

source: git/.circleci/config.yml@ 94083e7

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 94083e7 was 9ef4235, checked in by Pavel Demin <pavel-demin@…>, 6 years ago

update PYTHIA8

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[58cfe91]1version: 2
[fc5787d]2
3shared: &shared
4 steps:
5 - checkout
6 - run:
[7834e65f]7 name: Setup environment
8 command: |
[e353c19]9 if [[ -d /opt/root ]]; then
[1948197]10 echo 'export ROOTSYS=/opt/root' >> $BASH_ENV
11 echo 'export PATH=$ROOTSYS/bin:$PATH' >> $BASH_ENV
12 echo 'export PYTHONPATH=$ROOTSYS/lib:$PYTHONPATH' >> $BASH_ENV
13 echo 'export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH' >> $BASH_ENV
14 fi
[9ef4235]15 if [[ -d /opt/pythia ]]; then
16 echo 'export PYTHIA8=/opt/pythia' >> $BASH_ENV
17 else
18 echo 'export PYTHIA8=/usr' >> $BASH_ENV
19 fi
[fc5787d]20 - run:
[7834e65f]21 name: Build Delphes using make
22 command: |
23 make distclean
24 make -j `nproc` HAS_PYTHIA8=true
[fc5787d]25 - run:
[7834e65f]26 name: Build Delphes using cmake
27 command: |
28 rm -rf build
29 mkdir -p build
30 cd build
31 cmake ..
32 make -j `nproc`
[fc5787d]33
[58cfe91]34jobs:
[fc5787d]35 build_1:
36 <<: *shared
[58cfe91]37 docker:
[34fba84]38 - image: delphes/docker-ubuntu-1710:latest
[fc5787d]39 build_2:
40 <<: *shared
41 docker:
42 - image: delphes/docker-fedora-28:latest
[2c838c0]43
44workflows:
45 version: 2
46 build_all:
47 jobs:
48 - build_1
49 - build_2
Note: See TracBrowser for help on using the repository browser.