-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcircle.yml
42 lines (41 loc) · 1021 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
machine:
timezone:
US/Pacific
environment:
PATH: "/home/ubuntu/cmake-3.6.2-Linux-x86_64/bin:$PATH"
dependencies:
cache_directories:
- ~/cmake-3.6.2-Linux-x86_64
override:
- >
if [ ! -f ~/cmake-3.6.2-Linux-x86_64/bin/cmake ]; then
echo "No cache - building CMake"
pwd
cd ~
pwd
echo "CD'd"
ls -l
wget --no-check-certificate https://cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz
ls -l
echo "wget'd"
pwd
ls -l
tar -xvf cmake-3.6.2-Linux-x86_64.tar.gz
pwd
echo "tar'd"
else
echo "Cached CMake found"
fi
pre:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update
- sudo apt-get remove g++-4.6 gcc-4.6 cmake
- sudo apt-get install gcc-4.8 g++-4.8
- sudo apt-get remove -y texlive-base
- sudo apt-get install build-essential zlib1g-dev
test:
pre:
- cmake .
- make
override:
- ./test/runtests