Revision ae9f5b95ebf7b36577861434e2099b638540d730 authored by Anish Tondwalkar on 20 October 2019, 06:45:47 UTC, committed by Anish Tondwalkar on 20 October 2019, 06:45:47 UTC
1 parent eba2590
config.yml
---
version: 2.0
jobs:
build:
docker:
- image: fpco/stack-build:lts-14.0
steps:
- add_ssh_keys
- run: apt-get install z3
- checkout
- restore_cache:
keys:
- stack-{{ checksum "stack.yaml" }}
- run:
name: Dependencies
command: |
stack setup
stack build liquid-fixpoint --only-dependencies --test --no-run-tests
- save_cache:
key: stack-{{ checksum "stack.yaml" }}
paths:
- ~/.stack
- ./.stack-work
- run:
name: Compile
command : |
stack build liquid-fixpoint --flag liquid-fixpoint:devel
stack build liquid-fixpoint --flag liquid-fixpoint:devel --test --no-run-tests
- run:
name: Test
command: |
stack clean
mkdir -p /tmp/junit
stack test liquid-fixpoint:test --flag liquid-fixpoint:devel --test-arguments="--xml=/tmp/junit/main-test-results.xml":
stack haddock
stack sdist
# mkdir -p $CIRCLE_TEST_REPORTS/tasty
# cp -r tests/logs/cur $CIRCLE_TEST_REPORTS/tasty/log
- run:
name: Dist
command: stack sdist
Computing file changes ...