Skip to content

Commit

Permalink
Merge pull request #3 from smorimoto/update-gha
Browse files Browse the repository at this point in the history
Update GitHub Actions
  • Loading branch information
raphael-proust authored May 3, 2024
2 parents 28319c1 + eadabd3 commit 7546889
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 19 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
27 changes: 8 additions & 19 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,20 @@ on:

jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
ocaml-compiler:
- ocaml-variants.5.0.0+trunk
local-packages:
- lwt_domain.opam

runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Checkout tree
uses: actions/checkout@v4

- name: Use OCaml ${{ matrix.ocaml-compiler }}
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
opam-depext-flags: --with-test
opam-local-packages: ${{ matrix.local-packages }}
ocaml-compiler: "5.1"
allow-prerelease-opam: true

- run: opam install lwt_domain --deps-only --with-test

- run: opam exec -- dune build --only-packages lwt_domain
- run: opam exec -- dune build

- run: opam exec -- dune runtest --only-packages lwt_domain
- run: opam exec -- dune runtest

0 comments on commit 7546889

Please sign in to comment.