summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorjak1 <mike.wollmann@gmail.com>2021-05-22 11:47:44 +0000
committerjak1 <mike.wollmann@gmail.com>2021-05-22 11:47:44 +0000
commit445a5274e699198249891df5c8ab092e3c2d107d (patch)
tree8a75d0875059ea376bfa10bf62a2b4dffc8dab08 /.gitlab-ci.yml
parentd0eb866bcf526a2a775e8c14d3c397ae232d9974 (diff)
downloadplus-445a5274e699198249891df5c8ab092e3c2d107d.tar.gz
plus-445a5274e699198249891df5c8ab092e3c2d107d.tar.bz2
plus-445a5274e699198249891df5c8ab092e3c2d107d.tar.xz
plus-445a5274e699198249891df5c8ab092e3c2d107d.zip
[ci] added pages stage
added doxygen to pages stage added gcov_gcc6 to pages stage changed ci init script to use public dir.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml54
1 files changed, 53 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c0d1ec84d..cc7206572 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,7 @@
stages:
- lint
- prebuild
+ - pages
- build
# with :; prevent from run it on windows
@@ -42,6 +43,15 @@ variables:
expire_in: 3 week
dependencies: []
+.job-pages: &job-pages
+ artifacts:
+ paths:
+ - logs
+ - public
+ when: always
+ expire_in: 3 week
+ dependencies: []
+
# pre build
gcc-5_c++11_i386:
@@ -191,7 +201,7 @@ gcc-10_default:
- ./tools/ci/scripts/rundyecmd.sh
<<: *job-push
variables:
- LOGFILE: gcc6.log
+ LOGFILE: gcc10.log
CC: gcc-10
CXX: g++-10
CXXFLAGS: "-Wall -Wextra"
@@ -346,6 +356,48 @@ gcc-5_h_all_i386:
tags:
- docker
+gcov_gcc6:
+ stage: pages
+ image: debian:stretch
+ script:
+ - mkdir -p public/coverage/
+ - ./tools/ci/scripts/patchsdl1.sh
+ - ./tools/ci/jobs/gcc6_tests_gcov.sh --without-dyecmd --without-manaplusgame
+ <<: *job-pages
+ variables:
+ PACKAGES: gcc-6 g++-6
+ make autoconf automake autopoint gettext
+ libxml2-dev libcurl4-gnutls-dev libpng-dev
+ libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev
+ gcovr
+ git-core valgrind
+ coverage: /^\s*lines:\s*\d+.\d+\%/
+ artifacts:
+ paths:
+ - public
+ expire_in: 30 days
+ name: ${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHA}
+ reports:
+ cobertura: public/coverage/gcc6.xml
+ tags:
+ - docker
+
+doxygen:
+ stage: pages
+ image: debian:stretch
+ script:
+ - ./tools/ci/scripts/patchsdl1.sh
+ - ./tools/ci/jobs/doxygen.sh
+ - mv doxygen public/
+ <<: *job-pages
+ variables:
+ PACKAGES: doxygen graphviz
+ libxml2-dev libcurl4-gnutls-dev libpng-dev
+ libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev
+ git-core
+ tags:
+ - docker
+
# tests
triggers: