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

CI: run `opam update` before `opam install`

CI is failing as follows:

```
$ opam install coq-mathcomp-zify
[NOTE] It seems you have not updated your repositories for a while. Consider updating them with:
       opam update
The following dependencies couldn't be met:
  - coq-mathcomp-zify -> coq-mathcomp-algebra < 1.14~
      not available because the package is pinned to version 1.14.0
No solution found, exiting
```
parent fa3c6444
No related branches found
No related tags found
1 merge request!186Replace ssrlia with mczify
...@@ -41,7 +41,7 @@ stages: ...@@ -41,7 +41,7 @@ stages:
extends: extends:
- .preferred-stable-version - .preferred-stable-version
script: script:
- opam install coq-mathcomp-zify - opam update; opam install coq-mathcomp-zify
- ./create_makefile.sh --without-classic - ./create_makefile.sh --without-classic
- make -j ${NJOBS} - make -j ${NJOBS}
...@@ -50,7 +50,7 @@ stages: ...@@ -50,7 +50,7 @@ stages:
extends: extends:
- .preferred-stable-version - .preferred-stable-version
script: script:
- opam install coq-mathcomp-zify - opam update; opam install coq-mathcomp-zify
- ./create_makefile.sh --only-classic - ./create_makefile.sh --only-classic
- make -j ${NJOBS} - make -j ${NJOBS}
...@@ -87,7 +87,7 @@ stages: ...@@ -87,7 +87,7 @@ stages:
- .preferred-stable-version - .preferred-stable-version
stage: process stage: process
script: script:
- opam install coq-mathcomp-zify - opam update; opam install coq-mathcomp-zify
- make html -j ${NJOBS} - make html -j ${NJOBS}
- mv html with-proofs - mv html with-proofs
- make gallinahtml -j ${NJOBS} - make gallinahtml -j ${NJOBS}
...@@ -173,7 +173,7 @@ validate: ...@@ -173,7 +173,7 @@ validate:
dependencies: dependencies:
- compile - compile
script: script:
- opam install coq-mathcomp-zify - opam update; opam install coq-mathcomp-zify
- make -j ${NJOBS} # CI gotcha — get any spurious recompilation out of the way - make -j ${NJOBS} # CI gotcha — get any spurious recompilation out of the way
- make validate 2>&1 | tee validation-results.txt - make validate 2>&1 | tee validation-results.txt
- scripts/check-validation-output.sh validation-results.txt - scripts/check-validation-output.sh validation-results.txt
...@@ -187,7 +187,7 @@ validate-classic: ...@@ -187,7 +187,7 @@ validate-classic:
dependencies: dependencies:
- compile-classic - compile-classic
script: script:
- opam install coq-mathcomp-zify - opam update; opam install coq-mathcomp-zify
- make validate - make validate
doc: doc:
...@@ -226,7 +226,7 @@ proof-state: ...@@ -226,7 +226,7 @@ proof-state:
image: bbbrandenburg/alectryon-ci:1.14.0-coq-8.15.0 image: bbbrandenburg/alectryon-ci:1.14.0-coq-8.15.0
script: script:
- eval $(opam env "--switch=${COMPILER_EDGE}" --set-switch) - eval $(opam env "--switch=${COMPILER_EDGE}" --set-switch)
- opam install coq-mathcomp-zify - opam update; opam install coq-mathcomp-zify
- ./create_makefile.sh --without-classic - ./create_makefile.sh --without-classic
- make -j ${NJOBS} alectryon - make -j ${NJOBS} alectryon
artifacts: artifacts:
......
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