lzw-assignment/circle.yml

20 lines
593 B
YAML
Raw Normal View History

2018-04-15 22:13:57 +00:00
machine:
timezone:
Europe/Paris
environment:
PATH: "/home/ubuntu/cmake-3.6.2-Linux-x86_64/bin:$PATH"
dependencies:
2018-04-15 22:13:57 +00:00
cache_directories:
- ~/cmake-3.11.0-Linux-x86_64
override:
2018-04-15 22:13:57 +00:00
- >
if [ ! -d ~/cmake-3.11.0-Linux-x86_64 ]; then
echo "No cache - building CMake"
cd ~ && wget --quiet https://cmake.org/files/v3.6/cmake-3.11.0-Linux-x86_64.tar.gz && tar -xvf cmake-3.11.0-Linux-x86_64.tar.gz
else
echo "Cached CMake found"
ls -Ahl ~/cmake-3.11.0-Linux-x86_64
fi
2018-04-15 22:05:42 +00:00
- cd build && cmake -DCMAKE_BUILD_TYPE=Debug .. && make -j