Fork me on GitHub

source: git/.github/workflows/build.yml@ 4658ca4

Last change on this file since 4658ca4 was 4658ca4, checked in by Pavel Demin <pavel.demin@…>, 3 years ago

add build workflow

  • Property mode set to 100644
File size: 605 bytes
Line 
1name: build
2
3on: [push, pull_request]
4
5jobs:
6 build:
7 runs-on: ubuntu-latest
8
9 strategy:
10 matrix:
11 container: ["delphes/ubuntu:14.04", "delphes/ubuntu:18.04", "delphes/fedora:30"]
12
13 container:
14 image: ${{ matrix.container }}
15
16 steps:
17 - name: Checkout code
18 uses: actions/checkout@v2
19
20 - name: Build Delphes using make
21 run: |
22 make distclean
23 make -j 8 HAS_PYTHIA8=true
24
25 - name: Build Delphes using cmake
26 run: |
27 rm -rf build
28 mkdir -p build
29 cd build
30 cmake ..
31 make -j 8
Note: See TracBrowser for help on using the repository browser.