diff --git a/circle.yml b/circle.yml new file mode 100644 index 000000000..3800bd50f --- /dev/null +++ b/circle.yml @@ -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 diff --git a/scripts/circleci.sh b/scripts/circleci.sh new file mode 100755 index 000000000..02fe76b8a --- /dev/null +++ b/scripts/circleci.sh @@ -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 \ No newline at end of file