2 - remote: 'https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/c5626190ec14b475271288dda7a7dae8dbe0cd76/templates/fedora.yml'
5 FDO_UPSTREAM_REPO: GNOME/glib-networking
11 .fedora.container.common:
13 FDO_DISTRIBUTION_TAG: '2022-08-05.3'
14 FDO_DISTRIBUTION_VERSION: 'latest'
16 build.container.fedora@x86_64:
18 - '.fdo.container-build@fedora'
19 - '.fedora.container.common'
24 FDO_DISTRIBUTION_PACKAGES: >-
34 pkgconfig(gsettings-desktop-schemas)
35 pkgconfig(libproxy-1.0)
38 FDO_DISTRIBUTION_EXEC: >-
39 git clone --depth=1 https://gitlab.gnome.org/GNOME/glib.git &&
41 meson _build --prefix=/usr &&
42 meson install -C _build &&
48 - '.fdo.distribution-image@fedora'
49 - '.fedora.container.common'
52 # Remove for PKCS11 logs, otherwise generates a lot of noise hitting gitlab's limit
53 PKCS11SPY_PATH: disabled
55 - cp .gitlab-ci/lcovrc ~/.lcovrc
56 - meson setup --prefix=$HOME/glib-networking-installed
57 --fatal-meson-warnings
61 -Denvironment_proxy=enabled
67 - meson compile -C _build/
68 - meson test -v -C _build/ --repeat=10
69 - meson install -C _build/
70 - ninja -C _build/ coverage-html
74 - _build/meson-logs/coveragereport
76 coverage: '/^\s+lines\.+:\s+([\d.]+\%)\s+/'
80 - '.fdo.distribution-image@fedora'
81 - '.fedora.container.common'
85 PKCS11SPY_PATH: disabled
86 ASAN_OPTIONS: fast_unwind_on_malloc=0
88 - meson -Db_sanitize=address
92 -Denvironment_proxy=enabled
97 - meson compile -C _build/
98 - meson test --verbose --timeout-multiplier=10 -C _build/
101 - _build/test-results
104 fedora-x86_64-scan-build:
106 - '.fdo.distribution-image@fedora'
107 - '.fedora.container.common'
110 - meson -Dgnutls=enabled
112 -Denvironment_proxy=enabled
114 -Dgnome_proxy=enabled
118 - scan-build meson compile -C _build/
119 - bash -c 'if [[ -n "$(ls -A _build/meson-logs/scanbuild/)" ]]; then echo "Scan build log found, assuming defects exist"; exit 1; fi'
122 - _build/meson-logs/scanbuild
132 - .gitlab-ci/test-msvc.bat