2017-11-15 17:59:24 +01:00
|
|
|
before_script:
|
|
|
|
- export GTEST_ROOT=/opt/gtest-1.8.0
|
|
|
|
|
2022-12-04 18:42:35 +01:00
|
|
|
image: hub.docker.com/r/88plug/gcc-8-ubuntu-18.04
|
2017-11-15 17:05:51 +01:00
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
|
|
|
|
build-centos:
|
|
|
|
stage: build
|
|
|
|
script:
|
2022-12-04 17:49:17 +01:00
|
|
|
- source /opt/rh/devtoolset-8/enable
|
2017-11-15 17:05:51 +01:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake3 ..
|
|
|
|
- make -j2
|
|
|
|
- make test
|