File tree 1 file changed +11
-3
lines changed
1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,14 @@ jobs:
38
38
39
39
- name : Build
40
40
uses : docker://ghcr.io/rescript-lang/rescript-ci-build:alpine-3.19-ocaml-5.1.1-01
41
- env :
42
- DUNE_PROFILE : static
43
41
with :
44
- args : opam exec -- make
42
+ args : opam exec -- dune build --profile static
43
+
44
+ - name : Copy and strip binaries
45
+ run : |
46
+ cp -f _build/install/default/bin/rescript-editor-analysis rescript-editor-analysis.exe
47
+ cp -f _build/install/default/bin/rescript-tools rescript-tools.exe
48
+ strip rescript-editor-analysis.exe rescript-tools.exe
45
49
46
50
# Also avoids artifacts upload permission loss:
47
51
# https://github.com/actions/upload-artifact/tree/ee69f02b3dfdecd58bb31b4d133da38ba6fe3700#permission-loss
@@ -136,6 +140,10 @@ jobs:
136
140
- name : Test
137
141
run : opam exec -- make test
138
142
143
+ - name : Strip binaries
144
+ if : matrix.os != 'windows-latest'
145
+ run : strip rescript-editor-analysis.exe rescript-tools.exe
146
+
139
147
# Also avoids artifacts upload permission loss:
140
148
# https://github.com/actions/upload-artifact/tree/ee69f02b3dfdecd58bb31b4d133da38ba6fe3700#permission-loss
141
149
- name : Compress files
You can’t perform that action at this time.
0 commit comments