🔧 checkout cmake via git
This commit is contained in:
parent
9746f72d71
commit
3685dbdcfd
@ -8,18 +8,17 @@ steps:
|
|||||||
- name: build
|
- name: build
|
||||||
image: gcc
|
image: gcc
|
||||||
commands:
|
commands:
|
||||||
- wget --no-check-certificates https://github.com/Kitware/CMake/releases/download/v3.20.2/cmake-3.20.2.tar.gz
|
- git clone https://github.com/Kitware/CMake.git
|
||||||
- tar xfz cmake-3.20.2.tar.gz
|
- cd CMake
|
||||||
- cd cmake-3.20.2
|
|
||||||
- ./configure
|
- ./configure
|
||||||
- make cmake ctest -j10
|
- make cmake ctest -j10
|
||||||
- cd ..
|
- cd ..
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- ../cmake-3.20.2/bin/cmake .. -DJSON_FastTests=ON
|
- ../CMake/bin/cmake .. -DJSON_FastTests=ON
|
||||||
- make -j10
|
- make -j10
|
||||||
- cd test
|
- cd test
|
||||||
- ../../cmake-3.20.2/bin/ctest -j10
|
- ../../CMake/bin/ctest -j10
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user