Skip to content

Commit

Permalink
Push Github actions file
Browse files Browse the repository at this point in the history
  • Loading branch information
saroupille committed Jan 22, 2024
1 parent dfa19a7 commit 763d919
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build
run-name: Build Bam
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: setting up opam...
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
dune-cache: true
- name: Install dependencies
run: |
opam update
opam upgrade
opam install . --deps-only -t
- name: Build Bam
run: |
eval $(opam env)
dune build .
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
(name bam)
(synopsis "A property-based testing library with internal shrinking")
(description "A property-based testing allowing to define generators with internal shrinking easily")
(depends ocaml dune pringo stdlib)
(depends ocaml dune pringo)
(tags
(test pbt shrinking internal)))

Expand Down

0 comments on commit 763d919

Please sign in to comment.