You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
load: true # load into docker instead of immediately pushing
51
66
tags: ${{ steps.meta.outputs.tags }}
52
67
labels: ${{ steps.meta.outputs.labels }}
68
+
cache-from: type=gha
69
+
cache-to: type=gha,mode=max # max mode caches all layers for multi-stage image
53
70
54
71
- name: Check Docker image
55
-
run: docker run --rm -v $(pwd):/data ${{ steps.meta.outputs.tags }} /data/tests/regression/04-mutex/01-simple_rc.c #TODO: breaks if multiple tags?
72
+
run: docker run --rm -v $(pwd):/data ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.version }} /data/tests/regression/04-mutex/01-simple_rc.c #run image by version in case multiple tags
(optional) ; TODO: for some reason this doesn't work: `dune build` still tries to compile if benchmark missing
3
+
(optional) ; TODO: for some reason this doesn't work: `dune build` still tries to compile if benchmark missing (https://github.com/ocaml/dune/issues/4065)
Copy file name to clipboardExpand all lines: dune-project
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -24,8 +24,7 @@
24
24
(depends
25
25
(ocaml (>= 4.09))
26
26
dune
27
-
zarith_stubs_js ; only needed for js_of_ocaml
28
-
goblint-cil ; TODO no way to define as pin-depends? Used goblint.opam.template to add it for now. https://github.com/ocaml/dune/issues/3231. Alternatively, removing this line and adding cil as a git submodule and `(vendored_dirs cil)` as ./dune also works. This way, no more need to reinstall the pinned cil opam package on changes. However, then cil is cleaned and has to be rebuild together with goblint.
27
+
(goblint-cil (>= 1.8.2)); TODO no way to define as pin-depends? Used goblint.opam.template to add it for now. https://github.com/ocaml/dune/issues/3231. Alternatively, removing this line and adding cil as a git submodule and `(vendored_dirs cil)` as ./dune also works. This way, no more need to reinstall the pinned cil opam package on changes. However, then cil is cleaned and has to be rebuild together with goblint.
29
28
(batteries (>= 3.2.0))
30
29
qcheck-core
31
30
(ppx_distr_guards (>= 0.2))
@@ -36,7 +35,7 @@
36
35
(odoc :with-doc)
37
36
dune-site
38
37
sha
39
-
benchmark ; TODO: make this optional somehow, (optional) on bench executable doesn't work
38
+
(benchmark:with-test); TODO: make this optional somehow, (optional) on bench executable doesn't work
40
39
; TODO still need the following after switch to dune?
0 commit comments