forked from external/yambar
ci: install cmake in before_script, don't use ninja
This commit is contained in:
parent
b173f36e7e
commit
b92134dd0d
1 changed files with 7 additions and 2 deletions
|
@ -1,15 +1,20 @@
|
||||||
|
image: gcc
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- apt-get update && apt-get -y install cmake
|
||||||
|
|
||||||
configure:
|
configure:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- mkdir -p bld/debug
|
- mkdir -p bld/debug
|
||||||
- cd bld/debug
|
- cd bld/debug
|
||||||
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug ../../
|
- cmake -DCMAKE_BUILD_TYPE=Debug ../../
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- cd bld/debug
|
- cd bld/debug
|
||||||
- ninja
|
- make
|
||||||
|
|
Loading…
Add table
Reference in a new issue