add circleci config

This commit is contained in:
Dane Springmeyer 2016-03-14 08:40:20 -07:00
parent 7d4f894d98
commit da8384310e
2 changed files with 33 additions and 0 deletions

21
circle.yml Normal file
View file

@ -0,0 +1,21 @@
machine:
xcode:
version: 7.3
environment:
XCODE_SCHEME: "no"
XCODE_WORKSPACE: "no"
JOBS: 8
CCACHE_TEMPDIR: /tmp/.ccache-temp
CCACHE_COMPRESS: 1
pre:
- echo "here"
post:
- echo "there"
dependencies:
cache_directories:
- "~/.ccache"
test:
override:
- ./scripts/circleci.sh

12
scripts/circleci.sh Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -e -u
set -o pipefail
source bootstrap.sh
ccache --version
ccache -p || true
ccache --show-stats || true
./configure CXX="ccache clang++ -Qunused-arguments"
make
make test