Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
version: 2
jobs:
build:
docker:
- image: ocaml/opam:debian-9_ocaml-4.06.0
environment:
- TERM: dumb
steps:
- checkout
- restore_cache:
key: cache-{{ checksum "project.opam" }}
- run:
name: 'Clean'
command: make clean
- run:
name: 'Install deps'
command: make deps
- save_cache:
key: cache-{{ checksum "project.opam" }}
paths:
- ~/.opam
- run:
name: 'Build'
command: make build
workflows:
version: 2
build:
jobs:
- build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment