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
22 changes: 19 additions & 3 deletions .github/workflows/coq-action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: coq-action
name: rocq-action

on:
push:
Expand All @@ -23,8 +23,24 @@ jobs:
- uses: "actions/checkout@v4"
with:
submodules: "true"
- name: "Docker Coq action"
- name: "Docker Rocq action"
uses: "coq-community/docker-coq-action@v1"
with:
opam_file: "bonak.opam"
coq_version: "9.1.1"
coq_version: "9.2"
before_install: |
startGroup "Configure opam"
if opam pin list --short | grep -qx dune; then
opam unpin -y dune
fi
opam config list
opam repo list
opam list
endGroup
install: |
startGroup "Install dependencies"
sudo apt-get update -y -q
opam pin add -n -y -k path $PACKAGE $WORKDIR
opam update -y default
opam install --confirm-level=unsafe-yes -j 2 $PACKAGE --deps-only
endGroup
5 changes: 3 additions & 2 deletions bonak.opam
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ homepage: "https://github.com/artagnon/bonak"
bug-reports: "https://github.com/artagnon/bonak/issues"
dev-repo: "git+https://github.com/artagnon/bonak"
depends: [
"coq" { >= "9.1.0" }
"dune" { >= "3.17.2" }
"rocq-core" { >= "9.2.0" }
"rocq-stdlib"
"dune" { >= "3.22.0" }
]
build: [
["dune" "build"]
Expand Down
4 changes: 2 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(lang dune 3.17)
(lang dune 3.22)

(using coq 0.8)
(using rocq 0.12)

(name bonak)
2 changes: 1 addition & 1 deletion theories/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(coq.theory
(rocq.theory
(name Bonak)
(theories Stdlib))

Expand Down
Loading