Skip to content

Commit 65700f8

Browse files
committed
opam from apt
1 parent e08b31b commit 65700f8

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,13 @@ jobs:
2222
with:
2323
repository: rescript-lang/rescript-compiler
2424

25-
- run: sudo apt update
25+
- run: sudo apt install -y --no-install-recommends opam musl-tools
2626

27-
- name: Setup OCaml
28-
uses: ocaml/[email protected]
29-
with:
30-
ocaml-compiler: 5.2.0
31-
allow-prerelease-opam: true
32-
opam-pin: false
27+
- run: opam --version
28+
29+
- run: opam init -y --compiler=5.2.0 --disable-sandboxing
3330

34-
- run: opam install . --deps-only
31+
- run: opam install . -y --deps-only
3532

3633
- run: opam exec -- dune build --display quiet --profile static
3734

0 commit comments

Comments
 (0)