Skip to content

Commit

Permalink
Add dune-release lint to CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanlong committed May 12, 2020
1 parent cc67529 commit d324342
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,26 @@ jobs:
command: |
opam config exec -- make coverage
dune_lint:
docker:
- image: ocaml/opam2:4.09
environment:
TERM: xterm
steps:
- checkout
- run:
name: Pin packages
command: ./pin_dev.sh
- run:
name: Install system dependencies
command: opam depext -y `basename -s .opam *.opam | tr '\n' ' '`
- run:
name: Install dependencies
command: opam install -y dune-release
- run:
name: dune-release lint
command: dune-release lint

build_mirage:
docker:
- image: ocaml/opam2:4.09
Expand Down Expand Up @@ -83,3 +103,4 @@ workflows:
jobs:
- build
- build_mirage
- dune_lint

0 comments on commit d324342

Please sign in to comment.