1 image: registry.gitlab.gnome.org/gnome/glib/master:v3
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"
35 fedora-meson-android_ndk_r16_api21_arm64:
41 - meson --cross-file=/opt/cross-file-android_ndk_r16_api21_arm64.txt -Diconv=gnu -Dinternal_pcre=true --buildtype debug _build
45 - "${CI_PROJECT_DIR}/_build/meson-logs"
53 - meson --cross-file=/opt/cross_file_mingw64.txt --buildtype debug _build
57 - "${CI_PROJECT_DIR}/_build/meson-logs"
67 - C:\msys64\usr\bin\pacman --noconfirm -Syyuu --ask 20
68 - C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/test-msys2.sh"
78 - .gitlab-ci/test-msvc.bat
90 - bash -x ./.gitlab-ci/coverage-docker.sh
91 coverage: '/^\s+lines\.+:\s+([\d.]+\%)\s+/'
96 - mv _coverage/ public/
108 - meson --prefix /usr --libdir /usr/lib64 --buildtype release -Dgtk_doc=true -Dman=true _build .
112 - tar -c -f "glib-docs-$CI_COMMIT_TAG.tar.xz" -C docs/reference/glib html
113 - tar -c -f "gobject-docs-$CI_COMMIT_TAG.tar.xz" -C docs/reference/gobject html
114 - tar -c -f "gio-docs-$CI_COMMIT_TAG.tar.xz" -C docs/reference/gio html
117 - "${CI_PROJECT_DIR}/_build/glib-docs.tar.xz"
118 - "${CI_PROJECT_DIR}/_build/gobject-docs.tar.xz"
119 - "${CI_PROJECT_DIR}/_build/gio-docs.tar.xz"
120 - "${CI_PROJECT_DIR}/_build/meson-dist/glib-*.tar.xz"