ughhhhhhhhhhh
This commit is contained in:
parent
edaf7c0602
commit
a7385fe582
@ -8,21 +8,14 @@ jobs:
|
|||||||
- CXX: g++-7.1
|
- CXX: g++-7.1
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- save_cache:
|
|
||||||
key: dependency-cache
|
|
||||||
path:
|
|
||||||
- "~/cmake-3.11.0-Linux-x86_64"
|
|
||||||
- run: sudo add-apt-repository -y ppa:jonathonf/gcc-7.1
|
- run: sudo add-apt-repository -y ppa:jonathonf/gcc-7.1
|
||||||
- run: sudo apt-get update
|
- run: sudo apt-get update
|
||||||
- run: sudo apt-get install gcc-7 g++-7
|
- run: sudo apt-get install gcc-7 g++-7
|
||||||
- run:
|
- run:
|
||||||
name: Build project
|
name: Build cmake
|
||||||
command: |
|
command: |
|
||||||
if [ ! -d ~/cmake-3.11.0-Linux-x86_64 ]; then
|
cd ~ && wget --quiet https://cmake.org/files/v3.11/cmake-3.11.0-Linux-x86_64.tar.gz
|
||||||
echo "No cache - building CMake"
|
tar -xvf cmake-3.11.0-Linux-x86_64.tar.gz
|
||||||
cd ~ && wget --quiet https://cmake.org/files/v3.11/cmake-3.11.0-Linux-x86_64.tar.gz && tar -xvf cmake-3.11.0-Linux-x86_64.tar.gz
|
- run:
|
||||||
else
|
name: Build Project
|
||||||
echo "Cached CMake found"
|
command: cd build && cmake -DCMAKE_BUILD_TYPE=Debug .. && make -j
|
||||||
ls -Ahl ~/cmake-3.11.0-Linux-x86_64
|
|
||||||
fi
|
|
||||||
cd build && cmake -DCMAKE_BUILD_TYPE=Debug .. && make -j
|
|
||||||
|
Loading…
Reference in New Issue
Block a user