Add ability to generate callgraphs in textual format #115
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: Compilation and deployment | |
on: | |
- push | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
ocaml-version: | |
- 4.14.1 | |
- 5.0.0 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Use OCaml ${{ matrix.ocaml-version }} | |
uses: ocaml/setup-ocaml@v2 | |
with: | |
ocaml-compiler: ${{ matrix.ocaml-version }} | |
- name: Install dependencies | |
run: | | |
opam install core_unix | |
opam install . --deps-only --with-doc --with-test | |
opam install js_of_ocaml js_of_ocaml-ppx | |
- name: Compile binary | |
run: make | |
- name: Compile web version | |
run: make js | |
- name: Deploy web version | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: js |