Skip to content

Commit

Permalink
Setup Github Action
Browse files Browse the repository at this point in the history
  • Loading branch information
lthms committed Dec 31, 2023
1 parent f9dc855 commit 3d4b601
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: build
run-name: Build Spatial Shell
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

0 comments on commit 3d4b601

Please sign in to comment.