1 image: registry.gitlab.gnome.org/gnome/glib/master:v1
13 MESON_TEST_TIMEOUT_MULTIPLIER: 2
18 CFLAGS: "-coverage -ftest-coverage -fprofile-arcs"
20 - meson --prefix /usr --libdir /usr/lib64 --buildtype debug --werror -Dsystemtap=true -Ddtrace=true _build .
23 - meson test --timeout-multiplier ${MESON_TEST_TIMEOUT_MULTIPLIER}
26 - lcov --rc lcov_branch_coverage=1 --directory . --capture --no-external --output-file "_coverage/${CI_JOB_NAME}.lcov"
30 name: "glib-_${CI_COMMIT_REF_NAME}"
32 - "${CI_PROJECT_DIR}/_build/meson-logs"
33 - "${CI_PROJECT_DIR}/_coverage"
43 - C:\msys64\usr\bin\pacman --noconfirm -Syyuu --ask 20
44 - C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/test-msys2.sh"
54 - .gitlab-ci/test-msvc.bat
66 - bash -x ./.gitlab-ci/coverage-docker.sh
67 coverage: '/^\s+lines\.+:\s+([\d.]+\%)\s+/'
72 - mv _coverage/ public/
84 - meson --prefix /usr --libdir /usr/lib64 --buildtype release -Dgtk_doc=true -Dman=true _build .
88 - tar -c -f "glib-docs-$CI_COMMIT_TAG.tar.xz" -C docs/reference/glib html
89 - tar -c -f "gobject-docs-$CI_COMMIT_TAG.tar.xz" -C docs/reference/gobject html
90 - tar -c -f "gio-docs-$CI_COMMIT_TAG.tar.xz" -C docs/reference/gio html
93 - "${CI_PROJECT_DIR}/_build/glib-docs.tar.xz"
94 - "${CI_PROJECT_DIR}/_build/gobject-docs.tar.xz"
95 - "${CI_PROJECT_DIR}/_build/gio-docs.tar.xz"
96 - "${CI_PROJECT_DIR}/_build/meson-dist/glib-*.tar.xz"