2016-03-14 16:40:20 +01:00
|
|
|
machine:
|
|
|
|
xcode:
|
|
|
|
version: 7.3
|
|
|
|
environment:
|
|
|
|
XCODE_SCHEME: "no"
|
|
|
|
XCODE_WORKSPACE: "no"
|
|
|
|
JOBS: 8
|
|
|
|
CCACHE_TEMPDIR: /tmp/.ccache-temp
|
|
|
|
CCACHE_COMPRESS: 1
|
2016-03-14 18:21:35 +01:00
|
|
|
LLVM_VERSION: 3.7
|
2016-03-14 16:40:20 +01:00
|
|
|
pre:
|
|
|
|
- echo "here"
|
|
|
|
post:
|
|
|
|
- echo "there"
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
cache_directories:
|
|
|
|
- "~/.ccache"
|
2016-03-14 18:15:39 +01:00
|
|
|
pre:
|
2016-03-14 16:46:29 +01:00
|
|
|
- sudo wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
|
2016-03-14 18:21:35 +01:00
|
|
|
- sudo add-apt-repository -y "deb http://llvm.org/apt/precise/ llvm-toolchain-precise-${LLVM_VERSION} main"
|
2016-03-14 18:15:39 +01:00
|
|
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
2016-03-14 16:46:29 +01:00
|
|
|
- sudo apt-get update -y
|
2016-03-14 18:15:39 +01:00
|
|
|
override:
|
2016-03-14 18:21:35 +01:00
|
|
|
- sudo apt-get install clang-${LLVM_VERSION} -y
|
2016-03-14 18:15:39 +01:00
|
|
|
post:
|
2016-03-14 18:21:35 +01:00
|
|
|
- which clang-${LLVM_VERSION}
|
|
|
|
- which clang++-${LLVM_VERSION}
|
2016-03-14 16:46:29 +01:00
|
|
|
|
2016-03-14 16:40:20 +01:00
|
|
|
|
|
|
|
test:
|
|
|
|
override:
|
|
|
|
- ./scripts/circleci.sh
|