Skip to content

Commit

Permalink
Compatibility mc112 (#34)
Browse files Browse the repository at this point in the history
* test compilation with MathComp 1.12 and Analysis 0.3.5
  • Loading branch information
affeldt-aist authored Jan 8, 2021
1 parent 3e21b1c commit 50301ed
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 34 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
image:
- 'mathcomp/mathcomp:1.11.0-coq-8.11'
- 'mathcomp/mathcomp:1.11.0-coq-8.12'
- 'mathcomp/mathcomp:1.12.0-coq-8.11'
- 'mathcomp/mathcomp:1.12.0-coq-8.12'
fail-fast: false
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ env:
matrix:
- DOCKERIMAGE="mathcomp/mathcomp:1.11.0-coq-8.11"
- DOCKERIMAGE="mathcomp/mathcomp:1.11.0-coq-8.12"
- DOCKERIMAGE="mathcomp/mathcomp:1.12.0-coq-8.11"
- DOCKERIMAGE="mathcomp/mathcomp:1.12.0-coq-8.12"

install: |
# Prepare the COQ container
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ in several examples of monadic equational reasoning.
- License: [LGPL-2.1-or-later](LICENSE)
- Compatible Coq versions: Coq 8.11 to 8.12
- Additional dependencies:
- [MathComp ssreflect 1.11](https://math-comp.github.io)
- [MathComp fingroup 1.11](https://math-comp.github.io)
- [MathComp algebra 1.11](https://math-comp.github.io)
- [MathComp solvable 1.11](https://math-comp.github.io)
- [MathComp field 1.11](https://math-comp.github.io)
- [MathComp analysis 0.3.4](https://github.com/math-comp/analysis)
- [Infotheo 0.2.1](https://github.com/affeldt-aist/infotheo)
- [Paramcoq 0.1.2](https://github.com/coq-community/paramcoq)
- [MathComp ssreflect](https://math-comp.github.io)
- [MathComp fingroup](https://math-comp.github.io)
- [MathComp algebra](https://math-comp.github.io)
- [MathComp solvable](https://math-comp.github.io)
- [MathComp field](https://math-comp.github.io)
- [MathComp analysis](https://github.com/math-comp/analysis)
- [Infotheo](https://github.com/affeldt-aist/infotheo)
- [Paramcoq](https://github.com/coq-community/paramcoq)
- Coq namespace: `monae`
- Related publication(s):
- [A hierarchy of monadic effects for program verification using equational reasoning](https://staff.aist.go.jp/reynald.affeldt/documents/monae.pdf) doi:[10.1007/978-3-030-33636-3_9](https://doi.org/10.1007/978-3-030-33636-3_9)
Expand Down
18 changes: 7 additions & 11 deletions coq-monae.opam
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# This file was generated from `meta.yml`, please do not edit manually.
# Follow the instructions on https://github.com/coq-community/templates to regenerate.

opam-version: "2.0"
maintainer: "Reynald Affeldt <[email protected]>"
version: "dev"

homepage: "https://github.com/affeldt-aist/monae"
dev-repo: "git+https://github.com/affeldt-aist/monae.git"
Expand All @@ -23,13 +19,13 @@ build: [
install: [make "install"]
depends: [
"coq" { (>= "8.11" & < "8.13~") | (= "dev") }
"coq-mathcomp-ssreflect" { (>= "1.11.0" & < "1.12~") }
"coq-mathcomp-fingroup" { (>= "1.11.0" & < "1.12~") }
"coq-mathcomp-algebra" { (>= "1.11.0" & < "1.12~") }
"coq-mathcomp-solvable" { (>= "1.11.0" & < "1.12~") }
"coq-mathcomp-field" { (>= "1.11.0" & < "1.12~") }
"coq-mathcomp-analysis" { (= "0.3.4") }
"coq-infotheo" { >= "0.2.1" }
"coq-mathcomp-ssreflect" { (>= "1.11.0" & < "1.13~") }
"coq-mathcomp-fingroup" { (>= "1.11.0" & < "1.13~") }
"coq-mathcomp-algebra" { (>= "1.11.0" & < "1.13~") }
"coq-mathcomp-solvable" { (>= "1.11.0" & < "1.13~") }
"coq-mathcomp-field" { (>= "1.11.0" & < "1.13~") }
"coq-mathcomp-analysis" { (>= "0.3.4" & < "0.4~") }
"coq-infotheo" { >= "0.2.1" & < "0.3~"}
"coq-paramcoq" { >= "1.1.2" & < "1.2~" }
]

Expand Down
34 changes: 19 additions & 15 deletions meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,48 +41,52 @@ tested_coq_opam_versions:
repo: 'mathcomp/mathcomp'
- version: '1.11.0-coq-8.12'
repo: 'mathcomp/mathcomp'
- version: '1.12.0-coq-8.11'
repo: 'mathcomp/mathcomp'
- version: '1.12.0-coq-8.12'
repo: 'mathcomp/mathcomp'

dependencies:
- opam:
name: coq-mathcomp-ssreflect
version: '{ (>= "1.11.0" & < "1.12~") }'
version: '{ (>= "1.11.0" & < "1.13~") }'
description: |-
[MathComp ssreflect 1.11](https://math-comp.github.io)
[MathComp ssreflect](https://math-comp.github.io)
- opam:
name: coq-mathcomp-fingroup
version: '{ (>= "1.11.0" & < "1.12~") }'
version: '{ (>= "1.11.0" & < "1.13~") }'
description: |-
[MathComp fingroup 1.11](https://math-comp.github.io)
[MathComp fingroup](https://math-comp.github.io)
- opam:
name: coq-mathcomp-algebra
version: '{ (>= "1.11.0" & < "1.12~") }'
version: '{ (>= "1.11.0" & < "1.13~") }'
description: |-
[MathComp algebra 1.11](https://math-comp.github.io)
[MathComp algebra](https://math-comp.github.io)
- opam:
name: coq-mathcomp-solvable
version: '{ (>= "1.11.0" & < "1.12~") }'
version: '{ (>= "1.11.0" & < "1.13~") }'
description: |-
[MathComp solvable 1.11](https://math-comp.github.io)
[MathComp solvable](https://math-comp.github.io)
- opam:
name: coq-mathcomp-field
version: '{ (>= "1.11.0" & < "1.12~") }'
version: '{ (>= "1.11.0" & < "1.13~") }'
description: |-
[MathComp field 1.11](https://math-comp.github.io)
[MathComp field](https://math-comp.github.io)
- opam:
name: coq-mathcomp-analysis
version: '{ (= "0.3.4") }'
version: '{ (>= "0.3.4" & < "0.4~") }'
description: |-
[MathComp analysis 0.3.4](https://github.com/math-comp/analysis)
[MathComp analysis](https://github.com/math-comp/analysis)
- opam:
name: coq-infotheo
version: '{ >= "0.2.1" }'
version: '{ >= "0.2.1" & < "0.3~"}'
description: |-
[Infotheo 0.2.1](https://github.com/affeldt-aist/infotheo)
[Infotheo](https://github.com/affeldt-aist/infotheo)
- opam:
name: coq-paramcoq
version: '{ >= "1.1.2" & < "1.2~" }'
description: |-
[Paramcoq 0.1.2](https://github.com/coq-community/paramcoq)
[Paramcoq](https://github.com/coq-community/paramcoq)
namespace: monae

Expand Down

0 comments on commit 50301ed

Please sign in to comment.