Update .gitlab-ci.yml: cmake added
This commit is contained in:
parent
8919f27f48
commit
95f10f1e15
|
@ -10,12 +10,11 @@ build:
|
||||||
stage: build
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
- gcc
|
- gcc
|
||||||
# instead of calling g++ directly you can also use some build toolkit like make
|
|
||||||
# install the necessary build tools when needed
|
|
||||||
before_script:
|
before_script:
|
||||||
- apt update && apt -y install libreadline-dev
|
- apt update && apt -y install libreadline-dev cmake
|
||||||
script:
|
script:
|
||||||
- gcc lw12.c lw12ctl.c -o lw12ctl
|
- cmake .
|
||||||
|
- make
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- lw12ctl
|
- lw12ctl
|
||||||
|
|
Loading…
Reference in New Issue