File tree 1 file changed +7
-13
lines changed
1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
11
11
steps :
12
- - name : Checkout
12
+ - name : Checkout ReScript
13
13
uses : actions/checkout@v4
14
-
15
- - name : Cache apt packages for setup-ocaml
16
-
17
14
with :
18
- packages : bubblewrap darcs g++-multilib gcc-multilib mercurial musl-tools rsync
19
- version : v2
15
+ repository : rescript-lang/rescript-compiler
20
16
21
17
- name : Setup OCaml
22
18
23
19
with :
24
- # ocaml-compiler: ocaml.5.2.0,ocaml-option-static
25
20
ocaml-compiler : 5.2.0
26
21
allow-prerelease-opam : true
27
22
opam-pin : false
28
23
29
- - name : Test compile
30
- run : opam exec -- ocamlopt -ccopt -static a.ml
24
+ - run : opam install . --deps-only
25
+
26
+ - run : opam exec -- dune build --display quiet --profile static
31
27
32
- - name : Check output
33
- run : file a.out
28
+ - run : file _build/default/jscomp/bsc/rescript_compiler_main.exe
34
29
35
- - name : Run output
36
- run : ./a.out
30
+ - run : _build/default/jscomp/bsc/rescript_compiler_main.exe -v
You can’t perform that action at this time.
0 commit comments