Skip to content

Instantly share code, notes, and snippets.

@dwwoelfel
Created February 16, 2018 17:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dwwoelfel/8d0a4f4d92219dd9b798830ec2437ee8 to your computer and use it in GitHub Desktop.
Save dwwoelfel/8d0a4f4d92219dd9b798830ec2437ee8 to your computer and use it in GitHub Desktop.
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