cnorxz/.gitlab-ci.yml

21 lines
396 B
YAML
Raw Normal View History

2017-11-15 17:59:24 +01:00
image: docker.io/chizeta/centos:8
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:
- source /opt/rh/gcc-toolset-9/enable
- mkdir build-gcc
- cd build-gcc
- cmake3 ..
- make -j2
- make test
- cd ..
- mkdir build-clang
- cd build-clang
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