Skip to content
Snippets Groups Projects
Commit 7cd0103c authored by Björn Brandenburg's avatar Björn Brandenburg
Browse files

CI: don't hardcode version multiple times

parent e8c4edca
No related branches found
No related tags found
1 merge request!104Support mathcomp 1.11.0 and Coq 8.12
......@@ -10,6 +10,9 @@ stages:
- opam pin add -n -y -k path coq-prosa .
- opam install -y -v -j ${NJOBS} coq-prosa
.preferred-stable-version:
image: mathcomp/mathcomp:1.10.0-coq-8.11
.build:
image: mathcomp/mathcomp:${CI_JOB_NAME}
extends: .build-common
......@@ -113,24 +116,27 @@ coq-dev:
allow_failure: true
validate:
extends:
- .preferred-stable-version
stage: process
image: mathcomp/mathcomp:1.10.0-coq-8.11
needs: ["build-for-process"]
dependencies:
- build-for-process
script: make validate
validate-classic:
extends:
- .preferred-stable-version
stage: process
image: mathcomp/mathcomp:1.10.0-coq-8.11
needs: ["build-for-process-classic"]
dependencies:
- build-for-process-classic
script: make validate
.doc:
extends:
- .preferred-stable-version
stage: process
image: mathcomp/mathcomp:1.10.0-coq-8.11
script:
- make html -j ${NJOBS}
- mv html with-proofs
......@@ -168,8 +174,9 @@ doc-classic:
expire_in: 1 week
proof-state:
extends:
- .preferred-stable-version
stage: process
image: mathcomp/mathcomp:1.10.0-coq-8.11
needs: ["build-for-process"]
dependencies:
- build-for-process
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment