ughhhhhhhh
This commit is contained in:
parent
6aec134904
commit
c76f290a4d
@ -12,14 +12,17 @@ jobs:
|
|||||||
key: dependency-cache
|
key: dependency-cache
|
||||||
path:
|
path:
|
||||||
- ~/cmake-3.11.0-Linux-x86_64
|
- ~/cmake-3.11.0-Linux-x86_64
|
||||||
- run:
|
- run: sudo add-apt-repository -y ppa:jonathonf/gcc-7.1
|
||||||
name: Update gcc and g++ to version 7.1
|
- run: sudo apt-get update
|
||||||
command: |
|
- run: sudo apt-get install gcc-7 g++-7
|
||||||
sudo add-apt-repository -y ppa:jonathonf/gcc-7.1
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install gcc-7 g++-7
|
|
||||||
- run:
|
- run:
|
||||||
name: Build project
|
name: Build project
|
||||||
command: |
|
command: |
|
||||||
if [ ! -d ~/cmake-3.11.0-Linux-x86_64 ]; then; echo "No cache - building CMake"; 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; else; echo "Cached CMake found"; ls -Ahl ~/cmake-3.11.0-Linux-x86_64; fi
|
if [ ! -d ~/cmake-3.11.0-Linux-x86_64 ]; then
|
||||||
|
echo "No cache - building CMake"
|
||||||
|
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
|
||||||
|
else
|
||||||
|
echo "Cached CMake found"
|
||||||
|
ls -Ahl ~/cmake-3.11.0-Linux-x86_64
|
||||||
|
fi
|
||||||
cd build && cmake -DCMAKE_BUILD_TYPE=Debug .. && make -j
|
cd build && cmake -DCMAKE_BUILD_TYPE=Debug .. && make -j
|
||||||
|
Loading…
Reference in New Issue
Block a user