-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dfa19a7
commit afce1ef
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
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 . |