.gitlab-ci.yml 1.57 KB
Newer Older
1
---
Simon Brass's avatar
Simon Brass committed
2
3
4
5
6
7
8
stages:
  - build
  # - deploy

variables:
  JOBS: "-j4"

9
.bootstrap_template: &bootstrap
Simon Brass's avatar
Simon Brass committed
10
  stage: build
11
  image: gcc:latest
Simon Braß's avatar
Simon Braß committed
12
13
  variables:
    ROOT_DIR: ""
Simon Brass's avatar
Simon Brass committed
14
  before_script:
Simon Brass's avatar
Simon Brass committed
15
    - chmod u+x ./bootstrap-whizard.sh
Simon Braß's avatar
Simon Braß committed
16
    - apt-get update && apt-get install -y rsync cmake
Simon Brass's avatar
Simon Brass committed
17
  script:
18
    - ROOT_DIR="${ROOT_DIR}" DEBUG=True FORCE=True BUILD="$(pwd)" PREFIX="$(pwd)/install" ./bootstrap-whizard.sh ${BUILD_OPTION}
Simon Brass's avatar
Simon Brass committed
19
20
21
22
23
  artifacts:
    expire_in: 2 hours
    when: always
    paths:
      - log/*
Simon Braß's avatar
Simon Braß committed
24
25
  tags:
    - docker
26
27
28

bootstrap.autotools:
  variables:
29
    BUILD_OPTION: "autotools"
30
  <<: *bootstrap
Simon Brass's avatar
Simon Brass committed
31
32
33
34
35
36

bootstrap.ocaml:
  variables:
    BUILD_OPTION: "ocaml"
  <<: *bootstrap

37
bootstrap.hepmc2:
Simon Brass's avatar
Simon Brass committed
38
  variables:
39
40
41
42
    BUILD_OPTION: "hepmc2"
  <<: *bootstrap

bootstrap.hepmc3:
Simon Brass's avatar
Simon Brass committed
43
  <<: *bootstrap
44
  image: rootproject/root:latest
Simon Braß's avatar
Simon Braß committed
45
46
47
  variables:
    BUILD_OPTION: "hepmc3"
    ROOT_DIR: "/usr/lib/cmake/ROOT/ROOTConfig.cmake"
Simon Brass's avatar
Simon Brass committed
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63

bootstrap.lhapdf:
  variables:
    BUILD_OPTION: "lhapdf"
  <<: *bootstrap

bootstrap.fastjet:
  variables:
    BUILD_OPTION: "fastjet"
  <<: *bootstrap

bootstrap.openloops:
  variables:
    BUILD_OPTION: "openloops"
  <<: *bootstrap

64
65
bootstrap.delphes:
  <<: *bootstrap
66
  image: rootproject/root:latest
Simon Braß's avatar
Simon Braß committed
67
68
69
  variables:
    BUILD_OPTION: "pythia8 delphes"
    ROOT_DIR: "/usr/lib/cmake/ROOT/ROOTConfig.cmake"
70

Simon Brass's avatar
Simon Brass committed
71
72
73
74
bootstrap.pythia8:
  variables:
    BUILD_OPTION: "pythia8"
  <<: *bootstrap
75
  allow_failure: true
Simon Brass's avatar
Simon Brass committed
76

77
78
bootstrap.rivet:
  variables:
Simon Braß's avatar
Simon Braß committed
79
    BUILD_OPTION: "fastjet rivet"
80
81
82
  <<: *bootstrap
  allow_failure: true

Simon Brass's avatar
Simon Brass committed
83
84
bootstrap.default:
  variables:
Simon Braß's avatar
Simon Braß committed
85
    BUILD_OPTION: ""
Simon Brass's avatar
Simon Brass committed
86
87
88
  <<: *bootstrap
  allow_failure: true