Fork me on GitHub

Changeset fbad4c7 in git for .circleci/config.yml


Ignore:
Timestamp:
May 24, 2018, 9:12:31 PM (6 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
4689481
Parents:
4fd4f01 (diff), 792092a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into photonId

Conflicts:

cards/CMS_PhaseII/CMS_PhaseII_200PU_v03.tcl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .circleci/config.yml

    r4fd4f01 rfbad4c7  
    11version: 2
    2 jobs:
    3   build:
    4     docker:
    5       - image: ubuntu:artful
    6     steps:
    7       - checkout
    8       - run:
    9           name: Install packages
    10           command: |
    11             apt-get update
    12             apt-get -y install cmake curl gfortran graphviz-dev libcfitsio-dev libfftw3-dev libftgl-dev libglew-dev libglu1-mesa-dev libgsl-dev libjpeg-dev libkrb5-dev libldap2-dev libmysqlclient-dev libpcre3-dev libpng-dev libqt4-dev libqt4-opengl-dev libssl-dev libtbb-dev libx11-dev libxext-dev libxft-dev libxi-dev libxml2-dev libxmu-dev libxpm-dev libxt-dev make python-dev tar tcl wget
    13       - run:
    14           name: Install ROOT
    15           command: |
    16             mkdir -p /opt
    17             curl -sL https://root.cern.ch/download/root_v6.12.06.Linux-ubuntu17-x86_64-gcc7.2.tar.gz | tar -C /opt -zxf -
     2
     3shared: &shared
     4  steps:
     5    - checkout
     6    - run:
     7        name: Setup environment
     8        command: |
     9          if [[ -d /opt/root ]]; then
    1810            echo 'export ROOTSYS=/opt/root' >> $BASH_ENV
    1911            echo 'export PATH=$ROOTSYS/bin:$PATH' >> $BASH_ENV
    2012            echo 'export PYTHONPATH=$ROOTSYS/lib:$PYTHONPATH' >> $BASH_ENV
    2113            echo 'export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH' >> $BASH_ENV
    22       - run:
    23           name: Build Delphes
    24           command: |
    25             make
     14          fi
     15          echo 'export PYTHIA8=/opt/pythia' >> $BASH_ENV
     16    - run:
     17        name: Build Delphes using make
     18        command: |
     19          make distclean
     20          make -j `nproc` HAS_PYTHIA8=true
     21    - run:
     22        name: Build Delphes using cmake
     23        command: |
     24          rm -rf build
     25          mkdir -p build
     26          cd build
     27          cmake ..
     28          make -j `nproc`
     29
     30jobs:
     31  build_1:
     32    <<: *shared
     33    docker:
     34      - image: delphes/docker-ubuntu-1710:latest
     35  build_2:
     36    <<: *shared
     37    docker:
     38      - image: delphes/docker-fedora-28:latest
     39
     40workflows:
     41  version: 2
     42  build_all:
     43    jobs:
     44      - build_1
     45      - build_2
Note: See TracChangeset for help on using the changeset viewer.