Skip to content

Commit

Permalink
Switch to setup-ocaml.
Browse files Browse the repository at this point in the history
  • Loading branch information
smimram committed Aug 28, 2023
1 parent 6eb67f7 commit f19517a
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install packages
run: |
sudo apt-get -y update
sudo apt-get -y install ocaml-nox dune
- name: Build
run: dune build
- name: Test
run: dune test
- name: Checkout
uses: actions/checkout@v3
- name: Setup OCaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 5.0.0
- name: Pin package
run: opam pin add -n .
- name: Install dependencies
run: opam depext -yt metrics
- name: Build and test
run: opam install -t .

0 comments on commit f19517a

Please sign in to comment.