cnorxz/.gitlab-ci.yml
2022-12-05 22:36:35 +01:00

21 lines
No EOL
396 B
YAML

image: docker.io/chizeta/centos:8
stages:
- build
build-centos:
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
- CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake3 ..
- make -j2
- make test