diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml new file mode 100644 index 0000000..576bd22 --- /dev/null +++ b/.github/workflows/push.yml @@ -0,0 +1,21 @@ +name: push +run-name: Push workflow +on: [push] +jobs: + build_matrix: + runs-on: ubuntu-latest + strategy: + matrix: + ocaml_compiler: [ocaml.5.0.0, ocaml.5.1.1] + steps: + - uses: actions/checkout@v4 + - name: Install system dependencies + run: sudo apt install opam scdoc + - name: Initialize Opam + run: opam init -n --bare + - name: Install dependencies + run: make build-deps OCAML_COMPILER="${{ matrix.ocaml_compiler }}" + - name: Build Spatial Shell + run: | + eval $(opam env) + make