Support compilation to Javascript #57
Workflow file for this run
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: Build with opam | |
on: | |
push: | |
branches: [ partial_eval ] | |
paths: [ '*.opam', '.github/**' ] | |
pull_request: | |
paths: [ '*.opam', '.github/**' ] | |
workflow_dispatch: | |
# only run one instance of this action at a time. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ocaml/setup-ocaml@v2 | |
with: | |
ocaml-compiler: 4.14 | |
- run: opam install dune | |
- run: opam install . --deps-only --with-test | |
- run: opam exec -- dune build --profile release | |