Skip to content
Snippets Groups Projects
Commit 395c7d08 authored by hondet's avatar hondet
Browse files

Merged pipeline into toolbox

and provide path to psnj to tests
parent 71059c1a
No related branches found
No related tags found
No related merge requests found
Showing
with 6 additions and 97 deletions
...@@ -30,38 +30,3 @@ jobs: ...@@ -30,38 +30,3 @@ jobs:
opam install . --deps-only --yes opam install . --deps-only --yes
opam exec -- dune build opam exec -- dune build
opam exec -- dune test opam exec -- dune test
pipeline:
strategy:
fail-fast: false
matrix:
ocaml-compiler:
- 4.13.x
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: ocaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- name: pin lambdapi
run: opam pin add 'git://github.com/gabrielhdt/lambdapi#refiner'
- name: install bmake
run: sudo apt-get install bmake --yes
- name: install tools
run: |
opam install yojson angstrom feather cmdliner ezjsonm
cd proofs || exit 1
opam install psnj_toolbox/
- name: launch pipeline
run: |
cd proofs/pipeline || exit 1
opam install . --deps-only --yes
opam exec -- dune build
opam exec -- dune test
psnj-pipe
ROOT = pipe
CMDLINER = true
.include "../dune-exe.mk"
.include "../tools.mk"
(executable
(name pipe)
(libraries feather cmdliner ezjsonm))
(install
(section bin)
(files
(pipe.exe as psnj-pipe)))
(lang dune 2.9)
(name psnj_pipe)
(generate_opam_files true)
(package
(name psnj_pipe)
(synopsis "Pipeline for personoj")
(depends cmdliner feather ezjsonm))
*.log
*~
*.summary
pvsbin/
.pvscontext
orphaned-proof.prf
*.dep
run.out
PVSBIN
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "Pipeline for personoj"
depends: [
"dune" {>= "2.9"}
"cmdliner"
"feather"
"ezjsonm"
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"--promote-install-files=false"
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
["dune" "install" "-p" name "--create-install-files" name]
]
(executable (executable
(public_name psnj) (public_name psnj)
(name main) (name main)
(modules main dopth chainprops appaxiom autosolve qfo group) (modules main dopth chainprops appaxiom autosolve qfo group pipe)
(libraries (libraries
feather
ezjsonm ezjsonm
personoj personoj
personoj.qfo personoj.qfo
......
...@@ -13,6 +13,7 @@ let cmds = ...@@ -13,6 +13,7 @@ let cmds =
Autosolve.cmd; Autosolve.cmd;
Qfo.cmd; Qfo.cmd;
Group.cmd; Group.cmd;
Pipe.cmd
] ]
let () = Term.(exit @@ eval_choice default_cmd cmds) let () = Term.(exit @@ eval_choice default_cmd cmds)
...@@ -85,6 +85,4 @@ let cmd = ...@@ -85,6 +85,4 @@ let cmd =
let doc = "Pipeline for personoj" in let doc = "Pipeline for personoj" in
let man = [] in let man = [] in
( Term.(const process $ proveit $ src $ qfo_conf), ( Term.(const process $ proveit $ src $ qfo_conf),
Term.(info "psnj-pipe" ~exits ~doc ~man) ) Term.(info "pipe" ~exits ~doc ~man) )
let () = Term.(exit @@ eval cmd)
File moved
...@@ -7,4 +7,4 @@ ...@@ -7,4 +7,4 @@
(package (package
(name personoj) (name personoj)
(synopsis "todo") (synopsis "todo")
(depends cmdliner angstrom ezjsonm lambdapi)) (depends cmdliner angstrom ezjsonm lambdapi feather))
...@@ -7,6 +7,7 @@ depends: [ ...@@ -7,6 +7,7 @@ depends: [
"angstrom" "angstrom"
"ezjsonm" "ezjsonm"
"lambdapi" "lambdapi"
"feather"
"odoc" {with-doc} "odoc" {with-doc}
] ]
build: [ build: [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment