Skip to content

Commit

Permalink
experimental upgrade to Dune Coq 0.8 to enable composition
Browse files Browse the repository at this point in the history
  • Loading branch information
palmskog committed Jul 3, 2023
1 parent 0e1937b commit 9c348ce
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,18 @@ jobs:
matrix:
image:
- 'coqorg/coq:8.16-ocaml-4.14-flambda'
- 'coqorg/coq:8.17-ocaml-4.14-flambda'
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: coq-community/docker-coq-action@v1
with:
opam_file: 'coq-vlsm.opam'
custom_image: ${{ matrix.image }}

before_install: |
startGroup "Print opam config and unpin dune"
opam config list; opam repo list; opam list; opam pin remove dune -y
endGroup
# See also:
# https://github.com/coq-community/docker-coq-action#readme
Expand Down
2 changes: 1 addition & 1 deletion coq-vlsm.opam
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ contains a formalization of VLSMs and their theory in the Coq proof assistant.""

build: ["dune" "build" "-p" name "-j" jobs]
depends: [
"dune" {>= "2.5"}
"dune" {>= "3.8.2"}
"coq" {>= "8.16"}
"coq-stdpp" {>= "1.8.0"}
"coq-itauto"
Expand Down
4 changes: 2 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
(lang dune 2.5)
(using coq 0.2)
(lang dune 3.8)
(using coq 0.8)
(name VLSM)
1 change: 1 addition & 0 deletions meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ dependencies:
tested_coq_opam_versions:
- version: '8.16-ocaml-4.14-flambda'
- version: '8.17-ocaml-4.14-flambda'

namespace: VLSM

Expand Down
1 change: 1 addition & 0 deletions theories/VLSM/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
(name VLSM)
(package coq-vlsm)
(synopsis "Core definitions in Coq for VLSMs")
(theories stdpp Cdcl Equations)
(flags :standard
-w -future-coercion-class-field
-w -deprecated-tacopt-without-locality))
Expand Down

0 comments on commit 9c348ce

Please sign in to comment.