The TS-GitLab will have to shut down towards the end of the year — please think about migrating your projects to GitLab.com or GitHub.
(This is still a very early message, meant to keep you informed. There will be more urgent ones in the future.)

.gitlab-ci.yml 457 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
  - build
Dion Haefner's avatar
Dion Haefner committed
11
  - test
Dion Haefner's avatar
Dion Haefner committed
12 13 14

build_job:
  script:
Dion Haefner's avatar
Dion Haefner committed
15 16
    - ./dune-common/bin/dunecontrol --only=dorie all
    - ./dune-common/bin/dunecontrol --only=dorie make install
Dion Haefner's avatar
Dion Haefner committed
17
  stage: build
Dion Haefner's avatar
Dion Haefner committed
18 19
  artifacts:
    untracked: true
Dion Haefner's avatar
Dion Haefner committed
20 21 22

test_job:
  script:
Dion Haefner's avatar
Dion Haefner committed
23
    - ./dune-common/bin/dunecontrol --only=dorie make test
Dion Haefner's avatar
Dion Haefner committed
24
  stage: test
Dion Haefner's avatar
Dion Haefner committed
25 26
  dependencies:
    - build_job