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

variables:
  JOBS: "-j4"

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

bootstrap.autotools:
  variables:
26
    BUILD_OPTION: "autotools"
27
  <<: *bootstrap
Simon Braß's avatar
Simon Braß committed
28 29 30 31 32 33

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

34
bootstrap.hepmc2:
Simon Braß's avatar
Simon Braß committed
35
  variables:
36 37 38 39 40 41
    BUILD_OPTION: "hepmc2"
  <<: *bootstrap

bootstrap.hepmc3:
  variables:
    BUILD_OPTION: "hepmc3"
Simon Braß's avatar
Simon Braß committed
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
  <<: *bootstrap

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

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

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

59 60 61 62 63
bootstrap.delphes:
  variables:
    BUILD_OPTION: "delphes"
  <<: *bootstrap

Simon Braß's avatar
Simon Braß committed
64 65 66 67
bootstrap.pythia8:
  variables:
    BUILD_OPTION: "pythia8"
  <<: *bootstrap
68
  allow_failure: true
Simon Braß's avatar
Simon Braß committed
69

70 71 72 73 74 75
bootstrap.rivet:
  variables:
    BUILD_OPTION: "rivet"
  <<: *bootstrap
  allow_failure: true

Simon Braß's avatar
Simon Braß committed
76 77
bootstrap.default:
  variables:
78
    BUILD_OPTION: "whizard"
Simon Braß's avatar
Simon Braß committed
79 80 81
  <<: *bootstrap
  allow_failure: true