Test res #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
# - name: Checkout | |
# uses: actions/checkout@v4 | |
- name: Checkout ReScript | |
uses: actions/checkout@v4 | |
with: | |
repository: https://github.com/rescript-lang/rescript-compiler.git | |
- name: Setup OCaml | |
uses: ocaml/[email protected] | |
with: | |
# ocaml-compiler: ocaml.5.2.0,ocaml-option-static | |
ocaml-compiler: 5.2.0 | |
allow-prerelease-opam: true | |
opam-pin: false | |
# - name: Test compile | |
# run: opam exec -- ocamlopt -ccopt -static a.ml | |
# - name: Check output | |
# run: file a.out | |
# - name: Run output | |
# run: ./a.out | |
- run: opam install . --deps-only | |
- run: dune build --display quiet --profile static |