File tree 1 file changed +19
-12
lines changed
1 file changed +19
-12
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
13
- uses : actions/checkout@v4
12
+ # - name: Checkout
13
+ # uses: actions/checkout@v4
14
14
15
- - name : Cache apt packages for setup-ocaml
16
-
15
+ - name : Checkout ReScript
16
+ uses : actions/checkout@v4
17
17
with :
18
- packages : bubblewrap darcs g++-multilib gcc-multilib mercurial musl-tools rsync
19
- version : v2
18
+ repository : rescript-lang/rescript-compiler
20
19
21
20
- name : Setup OCaml
22
21
@@ -26,11 +25,19 @@ jobs:
26
25
allow-prerelease-opam : true
27
26
opam-pin : false
28
27
29
- - name : Test compile
30
- run : opam exec -- ocamlopt -ccopt -static a.ml
28
+ # - name: Test compile
29
+ # run: opam exec -- ocamlopt -ccopt -static a.ml
30
+
31
+ # - name: Check output
32
+ # run: file a.out
33
+
34
+ # - name: Run output
35
+ # run: ./a.out
36
+
37
+ - run : opam install . --deps-only
38
+
39
+ - run : opam exec -- dune build --display quiet --profile static
31
40
32
- - name : Check output
33
- run : file a.out
41
+ - run : file _build/install/default/bin/bsc
34
42
35
- - name : Run output
36
- run : ./a.out
43
+ - run : _build/install/default/bin/bsc -v
You can’t perform that action at this time.
0 commit comments