cnorxz/.gitlab-ci.yml

17 lines
342 B
YAML
Raw Normal View History

2022-12-04 19:21:28 +01:00
before_script:
- export GTEST_ROOT=/opt/gtest-1.8.0
2017-11-15 17:59:24 +01:00
2022-12-04 19:21:28 +01:00
image: docker.io/rqcd/centos-buildtools:7.2.1511
2017-11-15 17:05:51 +01:00
stages:
- build
2022-12-04 19:21:28 +01:00
build-centos:
2017-11-15 17:05:51 +01:00
stage: build
script:
2022-12-04 19:21:28 +01:00
- source /opt/rh/devtoolset-7/enable
2017-11-15 17:05:51 +01:00
- mkdir build
- cd build
2022-12-04 21:57:18 +01:00
- CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake3 ..
2017-11-15 17:05:51 +01:00
- make -j2
- make test