.gitlab-ci.yml 1.11 KB
Newer Older
1 2
.build:
  stage: build
3
  image: mathcomp/mathcomp:${CI_JOB_NAME}
4 5 6 7
  script:
    - ./create_makefile.sh
    - make -j ${NJOBS}

8
1.8.0-coq-8.8:
9 10
  extends: .build

11 12
1.9.0-coq-dev:
  extends: .build
13 14
  # it's ok to fail with an unreleased version of Coq
  allow_failure: true 
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51

1.9.0-coq-8.9:
  extends: .build
  # Keep track of all compiled output and the build infrastructure
  artifacts:
    name: build-files
    paths:
    - _CoqProject
    - Makefile
    - Makefile.conf
    # Ugly hack around https://gitlab.com/gitlab-org/gitlab-runner/issues/2620
    - "*/*.vo"
    - "*/*/*.vo"
    - "*/*/*/*.vo"
    - "*/*/*/*/*.vo"
    - "*/*/*/*/*/*.vo"
    - "*/*/*/*/*/*/*.vo"
    - "*/*/*/*/*/*/*/*.vo"
    - "*/*/*/*/*/*/*/*/*.vo"
    - "*/*/*/*/*/*/*/*/*/*.vo"
    - "*/*.glob"
    - "*/*/*.glob"
    - "*/*/*/*.glob"
    - "*/*/*/*/*.glob"
    - "*/*/*/*/*/*.glob"
    - "*/*/*/*/*/*/*.glob"
    - "*/*/*/*/*/*/*/*.glob"
    - "*/*/*/*/*/*/*/*/*.glob"
    - "*/*/*/*/*/*/*/*/*/*.glob"
    expire_in: 1 week
   
validate:
  stage: test
  image: mathcomp/mathcomp:1.9.0-coq-8.9
  dependencies:
    - 1.9.0-coq-8.9
  script: make validate