.gitlab-ci.yml 702 Bytes
Newer Older
Dion Haefner's avatar
typo  
Dion Haefner committed
1
image: dorie/dune-env:2.4
Dion Haefner's avatar
Dion Haefner committed
2

Dion Haefner's avatar
Dion Haefner committed
3 4 5 6 7
variables:
  DUNE_CONTROL_PATH: /opt/dune:$CI_PROJECT_DIR

before_script:
  - cd /opt/dune
Dion Haefner's avatar
Dion Haefner committed
8

Dion Haefner's avatar
Dion Haefner committed
9
stages:
Dion Haefner's avatar
Dion Haefner committed
10
  - main
Dion Haefner's avatar
Dion Haefner committed
11

Dion Haefner's avatar
Dion Haefner committed
12
main_job:
Dion Haefner's avatar
Dion Haefner committed
13
  script:
Dion Haefner's avatar
Dion Haefner committed
14
    - ./dune-common/bin/dunecontrol --only=dorie all
Dion Haefner's avatar
Dion Haefner committed
15
    - ./dune-common/bin/dunecontrol --only=dorie make install
Dion Haefner's avatar
Dion Haefner committed
16 17
    - ARGS="--output-on-failure" ./dune-common/bin/dunecontrol --only=dorie make test
  stage: main
18 19 20

update_dune_job:
  script:
Dion Haefner's avatar
Dion Haefner committed
21
    - ./dune-common/bin/dunecontrol update || true
22 23 24
    - ./dune-common/bin/dunecontrol exec "rm -rf build-cmake"
    - ./dune-common/bin/dunecontrol all
    - ./dune-common/bin/dunecontrol make install
25 26
    - ARGS="--output-on-failure" ./dune-common/bin/dunecontrol --only=dorie make test
  stage: main