Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 5 additions & 25 deletions .github/workflows/docker-action.yml
Original file line number Diff line number Diff line change
@@ -1,3 +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.
name: Docker CI

on:
Expand All @@ -17,37 +19,15 @@ jobs:
image:
- 'mathcomp/mathcomp:2.2.0-coq-8.19'
- 'mathcomp/mathcomp:2.3.0-coq-8.20'
- 'mathcomp/mathcomp-dev:coq-dev'
- 'mathcomp/mathcomp-dev:rocq-prover-dev'
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: coq-community/docker-coq-action@v1
with:
opam_file: 'coq-htt-core.opam'
custom_image: ${{ matrix.image }}
custom_script: |
{{before_install}}
startGroup "Build htt-core dependencies"
opam pin add -n -y -k path coq-htt-core .
opam update -y
opam install -y -j $(nproc) coq-htt-core --deps-only
endGroup
startGroup "Build htt-core"
opam install -y -v -j $(nproc) coq-htt-core
opam list
endGroup
startGroup "Build htt dependencies"
opam pin add -n -y -k path coq-htt .
opam update -y
opam install -y -j $(nproc) coq-htt --deps-only
endGroup
startGroup "Build coq-htt"
opam install -y -v -j $(nproc) coq-htt
opam list
endGroup
startGroup "Uninstallation test"
opam remove -y coq-htt
opam remove -y coq-htt-core
endGroup


# See also:
# https://github.com/coq-community/docker-coq-action#readme
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ that HTT implements Separation logic as a shallow embedding in Coq.
- Alexander Gryzlov
- Marcos Grandury
- License: [Apache-2.0](LICENSE)
- Compatible Coq versions: Coq 8.19 to 8.20
- Compatible Coq versions: 8.19 or later
- Additional dependencies:
- [MathComp ssreflect 2.2-2.3](https://math-comp.github.io)
- [MathComp algebra](https://math-comp.github.io)
Expand Down
2 changes: 1 addition & 1 deletion coq-htt-core.opam
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ build: [make "-C" "htt" "-j%{jobs}%"]
install: [make "-C" "htt" "install"]
depends: [
"dune" {>= "3.6"}
"coq" { (>= "8.19" & < "8.21~") | (= "dev") }
"coq" { (>= "8.19" & < "9.1~") | (= "dev") }
"coq-mathcomp-ssreflect" { (>= "2.2.0" & < "2.4~") | (= "dev") }
"coq-mathcomp-algebra"
"coq-mathcomp-fingroup"
Expand Down
6 changes: 3 additions & 3 deletions meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ license:
file: LICENSE

supported_coq_versions:
text: Coq 8.19 to 8.20
opam: '{ (>= "8.19" & < "8.21~") | (= "dev") }'
text: 8.19 or later
opam: '{ (>= "8.19" & < "9.1~") | (= "dev") }'

tested_coq_opam_versions:
- version: '2.2.0-coq-8.19'
repo: 'mathcomp/mathcomp'
- version: '2.3.0-coq-8.20'
repo: 'mathcomp/mathcomp'
- version: 'coq-dev'
- version: 'rocq-prover-dev'
repo: 'mathcomp/mathcomp-dev'

dependencies:
Expand Down
7 changes: 7 additions & 0 deletions theories/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
; This file was generated from `meta.yml`, please do not edit manually.
; Follow the instructions on https://github.com/coq-community/templates to regenerate.

(coq.theory
(name htt)
(package coq-htt-core)
(synopsis "Hoare Type Theory"))