Skip to content

Commit e7de945

Browse files
committed
Update Docker CI
1 parent e06b7fc commit e7de945

File tree

4 files changed

+35
-18
lines changed

4 files changed

+35
-18
lines changed

.github/workflows/docker-action.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
pull_request:
1010
branches:
1111
- '**'
12+
workflow_dispatch:
1213

1314
jobs:
1415
build:
@@ -17,9 +18,13 @@ jobs:
1718
strategy:
1819
matrix:
1920
image:
21+
- 'mathcomp/mathcomp:2.2.0-coq-8.20'
2022
- 'mathcomp/mathcomp:2.3.0-coq-8.20'
21-
- 'mathcomp/mathcomp:2.3.0-coq-8.20'
22-
- 'mathcomp/mathcomp-dev:coq-8.20'
23+
- 'mathcomp/mathcomp:2.4.0-rocq-prover-9.0'
24+
- 'mathcomp/mathcomp:2.4.0-rocq-prover-9.1'
25+
- 'mathcomp/mathcomp:2.5.0-rocq-prover-9.0'
26+
- 'mathcomp/mathcomp:2.5.0-rocq-prover-9.1'
27+
- 'mathcomp/mathcomp-dev:rocq-prover-9.1'
2328
- 'mathcomp/mathcomp-dev:rocq-prover-dev'
2429
fail-fast: false
2530
steps:

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ which will be used to subsume notations for finite sets, eventually.
2424
- Cyril Cohen (initial)
2525
- Kazuhiko Sakaguchi
2626
- License: [CeCILL-B](CECILL-B)
27-
- Compatible Coq versions: Coq 8.20 to 9.0
27+
- Compatible Rocq/Coq versions: 8.20 or later
2828
- Additional dependencies:
29-
- [MathComp ssreflect 2.0 to 2.3](https://math-comp.github.io)
30-
- Coq namespace: `mathcomp.finmap`
29+
- [MathComp](https://math-comp.github.io) ssreflect 2.2.0 or later
30+
- Rocq/Coq namespace: `mathcomp.finmap`
3131
- Related publication(s): none
3232

3333
## Building and installation instructions
@@ -36,15 +36,19 @@ The easiest way to install the latest released version of Finite maps
3636
is via [OPAM](https://opam.ocaml.org/doc/Install.html):
3737

3838
```shell
39-
opam repo add coq-released https://coq.inria.fr/opam/released
40-
opam install coq-mathcomp-finmap
39+
opam repo add rocq-released https://rocq-prover.org/opam/released
40+
opam install rocq-mathcomp-finmap
4141
```
4242

43-
To instead build and install manually, do:
43+
To instead build and install manually, you need to make sure that all the
44+
libraries this development depends on are installed. The easiest way to do that
45+
is still to rely on opam:
4446

4547
``` shell
4648
git clone https://github.com/math-comp/finmap.git
4749
cd finmap
50+
opam repo add rocq-released https://rocq-prover.org/opam/released
51+
opam install --deps-only .
4852
make # or make -j <number-of-cores-on-your-machine>
4953
make install
5054
```

meta.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,33 @@ license:
3131
file: CECILL-B
3232

3333
supported_coq_versions:
34-
text: Coq 8.20 to 9.0
35-
opam: '{ (>= "8.20" & < "8.21~") | (= "dev") }'
34+
text: 8.20 or later
35+
opam: '{>= "8.20"}'
3636

3737
tested_coq_opam_versions:
38-
- version: '2.3.0-coq-8.20'
38+
- version: '2.2.0-coq-8.20'
3939
repo: 'mathcomp/mathcomp'
4040
- version: '2.3.0-coq-8.20'
4141
repo: 'mathcomp/mathcomp'
42-
- version: 'coq-8.20'
42+
- version: '2.4.0-rocq-prover-9.0'
43+
repo: 'mathcomp/mathcomp'
44+
- version: '2.4.0-rocq-prover-9.1'
45+
repo: 'mathcomp/mathcomp'
46+
- version: '2.5.0-rocq-prover-9.0'
47+
repo: 'mathcomp/mathcomp'
48+
- version: '2.5.0-rocq-prover-9.1'
49+
repo: 'mathcomp/mathcomp'
50+
- version: 'rocq-prover-9.1'
4351
repo: 'mathcomp/mathcomp-dev'
44-
- version: 'coq-dev'
52+
- version: 'rocq-prover-dev'
4553
repo: 'mathcomp/mathcomp-dev'
4654

4755
dependencies:
4856
- opam:
4957
name: rocq-mathcomp-ssreflect
50-
version: '{ (>= "2.0" & < "2.5~") | (= "dev") }'
58+
version: '{>= "2.2.0"}'
5159
description: |-
52-
[MathComp ssreflect 2.0 to 2.3](https://math-comp.github.io)
60+
[MathComp](https://math-comp.github.io) ssreflect 2.2.0 or later
5361
5462
namespace: mathcomp.finmap
5563

rocq-mathcomp-finmap.opam

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ build: [make "-j%{jobs}%"]
2222
install: [make "install"]
2323
depends: [
2424
("coq" {>= "8.20" & < "8.21~"}
25-
| "rocq-core" {>= "9.0" | = "dev"})
26-
("coq-mathcomp-ssreflect" { >= "2.0" & < "2.4~" }
27-
|"rocq-mathcomp-ssreflect" { (>= "2.4" & < "2.5~") | = "dev" })
25+
| "rocq-core" {>= "9.0"})
26+
("coq-mathcomp-ssreflect" { >= "2.2" & < "2.4~" }
27+
|"rocq-mathcomp-ssreflect" { >= "2.4" })
2828
]
2929

3030
tags: [

0 commit comments

Comments
 (0)