Update .gitlab-ci.yml: cmake added

This commit is contained in:
jpk 2017-08-28 14:05:12 +02:00
parent 8919f27f48
commit 95f10f1e15
1 changed files with 3 additions and 4 deletions

View File

@ -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