Fork me on GitHub

Changeset fc5787d in git for .circleci/config.yml


Ignore:
Timestamp:
May 23, 2018, 2:50:06 PM (6 years ago)
Author:
Pavel Demin <pavel-demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
2c838c0
Parents:
95fbe30
Message:

add fedora docker image

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .circleci/config.yml

    r95fbe30 rfc5787d  
    11version: 2
     2
     3shared: &shared
     4  steps:
     5    - checkout
     6    - run:
     7      name: Setup environment
     8      command: |
     9        echo 'export ROOTSYS=/opt/root' >> $BASH_ENV
     10        echo 'export PATH=$ROOTSYS/bin:$PATH' >> $BASH_ENV
     11        echo 'export PYTHONPATH=$ROOTSYS/lib:$PYTHONPATH' >> $BASH_ENV
     12        echo 'export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH' >> $BASH_ENV
     13        echo 'export PYTHIA8=/opt/pythia' >> $BASH_ENV
     14    - run:
     15      name: Build Delphes using make
     16      command: |
     17        make distclean
     18        make -j `nproc` HAS_PYTHIA8=true
     19    - run:
     20      name: Build Delphes using cmake
     21      command: |
     22        rm -rf build
     23        mkdir -p build
     24        cd build
     25        cmake ..
     26        make -j `nproc`
     27
    228jobs:
    3   build:
     29  build_1:
     30    <<: *shared
    431    docker:
    532      - image: delphes/docker-ubuntu-1710:latest
    6     steps:
    7       - checkout
    8       - run:
    9           name: Setup environment
    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
    15             echo 'export PYTHIA8=/opt/pythia' >> $BASH_ENV
    16       - run:
    17           name: Build Delphes using make
    18           command: |
    19             make -j `nproc` HAS_PYTHIA8=true
    20       - run:
    21           name: Build Delphes using cmake
    22           command: |
    23             mkdir -p build
    24             cd build
    25             cmake ..
    26             make -j `nproc`
     33  build_2:
     34    <<: *shared
     35    docker:
     36      - image: delphes/docker-fedora-28:latest
Note: See TracChangeset for help on using the changeset viewer.