Updated gitlab-ci.yml: now run tests on several debian versions and archlinux
This commit is contained in:
parent
04fb44f0f8
commit
95a1eecaf5
1 changed files with 30 additions and 8 deletions
|
|
@ -5,12 +5,34 @@ before_script:
|
||||||
- export CXXFLAGS=-Werror
|
- export CXXFLAGS=-Werror
|
||||||
- export CTEST_OUTPUT_ON_FAILURE=1
|
- export CTEST_OUTPUT_ON_FAILURE=1
|
||||||
|
|
||||||
test:
|
.script: &compile_and_test
|
||||||
script:
|
script:
|
||||||
- scan-build-6.0 cmake .. && scan-build-6.0 --status-bugs make
|
- cmake -DCMAKE_BUILD_TYPE=Release .. && make && make test
|
||||||
- rm -r *
|
- rm -r *
|
||||||
- CXX=clang++-6.0 cmake .. && make
|
- cmake -DCMAKE_BUILD_TYPE=Release -DUSE_STANDALONE_ASIO=ON .. && make && make test
|
||||||
- rm -r *
|
|
||||||
- CXX=g++ cmake .. && make && make test
|
arch:
|
||||||
- rm -r *
|
image: "registry.gitlab.com/eidheim/docker-images:arch"
|
||||||
- CXX=g++ CXXFLAGS="$CXXFLAGS -O3" cmake -DUSE_STANDALONE_ASIO=ON .. && make && make test
|
<<: *compile_and_test
|
||||||
|
|
||||||
|
buster:
|
||||||
|
image: "registry.gitlab.com/eidheim/docker-images:buster"
|
||||||
|
<<: *compile_and_test
|
||||||
|
|
||||||
|
jessie:
|
||||||
|
image: "registry.gitlab.com/eidheim/docker-images:jessie"
|
||||||
|
<<: *compile_and_test
|
||||||
|
|
||||||
|
stretch:
|
||||||
|
image: "registry.gitlab.com/eidheim/docker-images:stretch"
|
||||||
|
<<: *compile_and_test
|
||||||
|
|
||||||
|
thread-safety-analysis:
|
||||||
|
image: "registry.gitlab.com/eidheim/docker-images:arch"
|
||||||
|
script:
|
||||||
|
- CXX=clang++ cmake .. && make
|
||||||
|
|
||||||
|
static-analysis:
|
||||||
|
image: "registry.gitlab.com/eidheim/docker-images:arch"
|
||||||
|
script:
|
||||||
|
- scan-build cmake .. && scan-build --status-bugs make
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue