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:
extends:
- .preferred-stable-version
script:
- opam install coq-mathcomp-zify
- opam update; opam install coq-mathcomp-zify
- ./create_makefile.sh --without-classic
- make -j ${NJOBS}
......@@ -50,7 +50,7 @@ stages:
extends:
- .preferred-stable-version
script:
- opam install coq-mathcomp-zify
- opam update; opam install coq-mathcomp-zify
- ./create_makefile.sh --only-classic
- make -j ${NJOBS}
......@@ -87,7 +87,7 @@ stages:
- .preferred-stable-version
stage: process
script:
- opam install coq-mathcomp-zify
- opam update; opam install coq-mathcomp-zify
- make html -j ${NJOBS}
- mv html with-proofs
- make gallinahtml -j ${NJOBS}
......@@ -173,7 +173,7 @@ validate:
dependencies:
- compile
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 validate 2>&1 | tee validation-results.txt
- scripts/check-validation-output.sh validation-results.txt
......@@ -187,7 +187,7 @@ validate-classic:
dependencies:
- compile-classic
script:
- opam install coq-mathcomp-zify
- opam update; opam install coq-mathcomp-zify
- make validate
doc:
......@@ -226,7 +226,7 @@ proof-state:
image: bbbrandenburg/alectryon-ci:1.14.0-coq-8.15.0
script:
- 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
- make -j ${NJOBS} alectryon
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