Skip to content

Commit fd6e5fb

Browse files
committed
Fix
1 parent 98fd2e9 commit fd6e5fb

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ jobs:
424424

425425
- name: Build playground compiler
426426
if: matrix.build_playground
427-
run: opam exec -- make playground
427+
run: opam exec -- make playground DUNE_PROFILE=static
428428

429429
- name: Snapshot Linux binaries after playground build
430430
if: runner.os == 'Linux' && matrix.build_playground

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ else
3131
$(error Unsupported platform $(UNAME_S)-$(UNAME_M))
3232
endif
3333

34+
DUNE_PROFILE ?= dev
35+
3436
define COPY_EXE
3537
cp $1 $2
3638
chmod 755 $2
@@ -116,7 +118,7 @@ $(foreach bin,$(COMPILER_BIN_NAMES),$(eval $(call MAKE_COMPILER_COPY_RULE,$(bin)
116118
# "touch" after dune build to make sure that the binaries' timestamps are updated
117119
# even if the actual content of the sources hasn't changed.
118120
$(COMPILER_BUILD_STAMP): $(COMPILER_SOURCES)
119-
dune build
121+
dune build --profile $(DUNE_PROFILE)
120122
@$(foreach bin,$(COMPILER_DUNE_BINS),touch $(bin);)
121123

122124
$(COMPILER_DUNE_BINS): $(COMPILER_BUILD_STAMP) ;

0 commit comments

Comments
 (0)