Skip to content

Commit f10a767

Browse files
committed
Test res
1 parent 101ec13 commit f10a767

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,22 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- name: Checkout
12+
- name: Checkout ReScript
1313
uses: actions/checkout@v4
14-
15-
- name: Cache apt packages for setup-ocaml
16-
uses: awalsh128/[email protected]
1714
with:
18-
packages: bubblewrap darcs g++-multilib gcc-multilib mercurial musl-tools rsync
19-
version: v2
15+
repository: rescript-lang/rescript-compiler
2016

2117
- name: Setup OCaml
2218
uses: ocaml/[email protected]
2319
with:
24-
# ocaml-compiler: ocaml.5.2.0,ocaml-option-static
2520
ocaml-compiler: 5.2.0
2621
allow-prerelease-opam: true
2722
opam-pin: false
2823

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
3127

32-
- name: Check output
33-
run: file a.out
28+
- run: file _build/default/jscomp/bsc/rescript_compiler_main.exe
3429

35-
- name: Run output
36-
run: ./a.out
30+
- run: _build/default/jscomp/bsc/rescript_compiler_main.exe -v

0 commit comments

Comments
 (0)