File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 34
34
opam pin add -n easycrypt .
35
35
opam install --deps-only easycrypt
36
36
- name : Compile EasyCrypt
37
- run : opam exec -- make
37
+ run : opam exec -- make PROFILE=ci
38
38
39
39
compile-nix :
40
40
name : EasyCrypt compilation (nix)
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ CHECK += --bin-args=-timeout --bin-args="$(ECTOUT)"
14
14
CHECK += $(foreach arg,$(ECARGS ) ,--bin-args="$(arg ) ")
15
15
CHECK += $(ECEXTRA ) config/tests.config
16
16
NIX ?= nix --extra-experimental-features "nix-command flakes"
17
+ PROFILE ?= dev
17
18
18
19
# --------------------------------------------------------------------
19
20
UNAME_P = $(shell uname -p)
@@ -29,7 +30,7 @@ default: build
29
30
30
31
build :
31
32
rm -f src/ec.exe ec.native
32
- dune build
33
+ $( DUNE ) build --profile= $( PROFILE )
33
34
ln -sf src/ec.exe ec.native
34
35
ifeq ($(UNAME_P ) -$(UNAME_S ) ,arm-Darwin)
35
36
-codesign -f -s - src/ec.exe
Original file line number Diff line number Diff line change 1
1
(env
2
2
(dev (flags :standard -rectypes -warn-error -a+31 -w +28+33-9-23-32-58-67-69))
3
- (release (flags :standard -rectypes -warn-error -a+31 -w +28+33-9-23-32-58-67-69)
3
+ (ci (flags :standard -rectypes -warn-error +a -w +28+33-9-23-32-58-67-69))
4
+ (release (flags :standard -rectypes -warn-error -a -w +28+33-9-23-32-58-67-69)
4
5
(ocamlopt_flags -O3 -unbox-closures)))
5
6
6
7
(include_subdirs unqualified)
You can’t perform that action at this time.
0 commit comments