-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Coq | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
branches: ["main"] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Download Git submodules | ||
run: git submodule update --init --recursive | ||
- uses: coq-community/docker-coq-action@v1 | ||
with: | ||
custom_image: coqorg/coq:8.17-ocaml-4.14-flambda | ||
custom_script: | | ||
startGroup "Install dependencies" | ||
opam install -y --deps-only CoqOfPython/coq-of-python.opam | ||
endGroup | ||
startGroup "Set the rights" | ||
sudo chown -R $(whoami) . | ||
endGroup | ||
startGroup "Compile Coq translations" | ||
cd CoqOfPython | ||
make | ||
cd .. | ||
endGroup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
opam-version: "2.0" | ||
name: "coq-of-python" | ||
version: "0.1" | ||
synopsis: "Coq of Python" | ||
description: """ | ||
Formal verification for Python by translation to the proof system Coq | ||
""" | ||
maintainer: "Guillaume Claret <[email protected]>" | ||
authors: [ | ||
"Formal Land <[email protected]>" | ||
] | ||
license: "MIT" | ||
homepage: "https://github.com/formal-land/coq-of-python" | ||
bug-reports: "https://github.com/formal-land/coq-of-python/issues" | ||
dev-repo: "git+https://github.com/formal-land/coq-of-python.git" | ||
depends: [ | ||
"ocaml" {>= "4.08"} | ||
"coq" {>= "8.17.1" & < "8.18"} | ||
"coq-hammer" {>= "1.3.2+8.17" & < "1.3.2+8.18"} | ||
] | ||
build: [ | ||
[make] | ||
] |