diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cf24e95..8e1b9e2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,4 +29,6 @@ jobs: with: ocaml-version: ${{ matrix.ocaml-version }} - - run: opam pin add FrontC.dev . --yes --with-test + - run: opam pin add FrontC . --no-action + - run: opam install FrontC --deps-only + - run: dune build @install @runtest diff --git a/ctoxml/dune b/ctoxml/dune index 82494cc..aeed611 100644 --- a/ctoxml/dune +++ b/ctoxml/dune @@ -5,10 +5,7 @@ (libraries FrontC)) (env - (_ (binaries (./ctoxml_bin.exe as ctoxml)))) - + (_ (binaries (./ctoxml as ctoxml)))) (cram - (package ctoxml) - (applies_to test) (deps %{bin:ctoxml})) \ No newline at end of file diff --git a/dune b/dune index 18a21d8..95b4203 100644 --- a/dune +++ b/dune @@ -1,4 +1,2 @@ (cram - (package FrontC) - (applies_to test.t) (deps printc/printc_bin.exe)) diff --git a/dune-project b/dune-project index c55d750..d852250 100644 --- a/dune-project +++ b/dune-project @@ -1,4 +1,4 @@ -(lang dune 2.8) +(lang dune 2.7) (using menhir 2.0) (cram enable) (version 4.0.0) @@ -18,7 +18,7 @@ (description "FrontC provides a C parser and an OCaml definition \ of an abstract syntax treee for the C language. It also \ includes AST pretty-printers in plain and XML formats.") - (depends (dune (>= 2.8)) menhir) + (depends (dune (>= 2.7)) menhir) (tags (FrontC C parser XML))) (package