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