.gitlab-ci.yml: use my own centos image
This commit is contained in:
parent
9bfb5f4707
commit
9aba24cf01
1 changed files with 10 additions and 6 deletions
|
@ -1,7 +1,5 @@
|
||||||
before_script:
|
|
||||||
- export GTEST_ROOT=/opt/gtest-1.8.0
|
|
||||||
|
|
||||||
image: docker.io/rqcd/centos-buildtools:7.2.1511
|
image: docker.io/chizeta/centos:8
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
@ -9,9 +7,15 @@ stages:
|
||||||
build-centos:
|
build-centos:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- source /opt/rh/devtoolset-7/enable
|
- source /opt/rh/gcc-toolset-9/enable
|
||||||
- mkdir build
|
- mkdir build-gcc
|
||||||
- cd build
|
- cd build-gcc
|
||||||
|
- cmake3 ..
|
||||||
|
- make -j2
|
||||||
|
- make test
|
||||||
|
- cd ..
|
||||||
|
- mkdir build-clang
|
||||||
|
- cd build-clang
|
||||||
- CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake3 ..
|
- CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake3 ..
|
||||||
- make -j2
|
- make -j2
|
||||||
- make test
|
- make test
|
Loading…
Reference in a new issue