Build Bamm #1
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 | |
run-name: Build Bamm | |
on: [push] | |
jobs: | |
build_matrix: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ocaml_compiler: [ | |
# OCaml LTS version | |
ocaml.4.14.1, | |
# ocaml-system for Fedora 39 | |
ocaml.5.0.0, | |
# ocaml-system for Archlinux | |
ocaml.5.1.0 | |
] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install system dependencies | |
run: sudo apt install opam | |
- name: Initialize Opam | |
run: opam init -n --bare | |
- name: Install dependencies | |
run: opam install . --deps-only -t | |
- name: Build Spatial Shell | |
run: | | |
eval $(opam env) | |
dune build . |