Test res #11
This file contains hidden or 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: 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 | |
- uses: Checkout ReScript | |
with: | |
repository: https://github.com/rescript-lang/rescript-compiler.git | |
- run: opam install . --deps-only | |
- run: dune build |