Created
February 16, 2018 17:30
-
-
Save dwwoelfel/8d0a4f4d92219dd9b798830ec2437ee8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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