Commit f7a6fe22 authored by Guido Gunther's avatar Guido Gunther
Browse files

gitlab-ci: Run extended tests on bullseye



Don't bother for the crossbuild since we don't run tests there and this
would just make build times longer.

Since we dont't want to build documentation for glib we need to do an
extra build for gtk-doc that uses system glib.

This gets simpler again once the next glib is released.
Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent d20f7e90
......@@ -20,7 +20,7 @@ variables:
.bullseye_vars: &bullseye_vars
variables:
DIST: bullseye
BUILD_OPTS: -Dphoc_tests=enabled -Dgtk_doc=true ${COMMON_BUILD_OPTS}
BUILD_OPTS: -Dphoc_tests=enabled -Dg_tests=true ${COMMON_BUILD_OPTS}
.build_step: &build_step
script:
......@@ -101,9 +101,9 @@ build:cross-debian-bullseye:i386:
- eatmydata apt-get -y install $DEPS crossbuild-essential-i386
script:
- git submodule update --recursive
- 'echo "Build opts: ${BUILD_OPTS}"'
- 'echo "Build opts: ${COMMON_BUILD_OPTS}"'
- /usr/share/meson/debcrossgen --arch i386 -o cross-i386.txt
- meson ${BUILD_OPTS} . _build --cross-file cross-i386.txt
- meson ${COMMON_BUILD_OPTS} . _build --cross-file cross-i386.txt
- ninja -C _build
artifacts:
paths:
......@@ -133,10 +133,14 @@ build-gtkdoc:
<<: *tags
image: debian:bullseye
stage: test+docs
needs:
- build:native-debian-bullseye
<<: *bullseye_vars
variables:
DIST: bullseye
BUILD_OPTS: -Dgtk_doc=true ${COMMON_BUILD_OPTS}
script:
- git clean -dfx
- 'echo "Build opts: ${BUILD_OPTS}"'
- meson ${BUILD_OPTS} . _build
- ninja -C _build
- tools/doc-check
- mv _build/docs/html/ _reference/
artifacts:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment