2020-05-07 11:15:26 +02:00
|
|
|
include:
|
2024-05-19 15:12:04 +02:00
|
|
|
- remote: 'https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/145b1bc7ef1702d2bd71584010d7113c6786a506/templates/fedora.yml'
|
2020-05-07 11:15:26 +02:00
|
|
|
|
|
|
|
variables:
|
|
|
|
FDO_UPSTREAM_REPO: gnome/gnome-control-center
|
|
|
|
|
2018-03-01 15:37:14 -03:00
|
|
|
stages:
|
2021-07-22 05:33:09 +03:00
|
|
|
- prepare
|
2018-03-01 15:37:14 -03:00
|
|
|
- build
|
|
|
|
- test
|
2018-07-15 11:24:32 -03:00
|
|
|
- manual
|
|
|
|
- deploy
|
2018-03-01 15:37:14 -03:00
|
|
|
|
2024-05-19 20:47:25 +02:00
|
|
|
.Build Logs: &build_logs
|
|
|
|
name: build_logs
|
|
|
|
when: always
|
|
|
|
paths:
|
|
|
|
- ./*.log
|
|
|
|
- _build/meson-logs/
|
2018-06-17 20:13:07 -03:00
|
|
|
|
2024-05-19 22:44:12 +02:00
|
|
|
.Build Output: &build_output
|
2018-06-17 20:13:07 -03:00
|
|
|
artifacts:
|
2024-05-19 22:44:12 +02:00
|
|
|
name: build_output
|
|
|
|
when: always
|
|
|
|
paths:
|
|
|
|
- ./*.log
|
|
|
|
- _build/
|
2018-06-17 20:13:07 -03:00
|
|
|
expire_in: 3h30min
|
|
|
|
|
2018-06-19 14:20:26 -03:00
|
|
|
.Show Info: &environment_information
|
|
|
|
build-aux/ci/ci-helper.sh "INFO" &&
|
|
|
|
build-aux/ci/ci-helper.sh "GIT_INFO"
|
|
|
|
|
2024-05-19 22:44:12 +02:00
|
|
|
.Build Procedure: &build_procedure
|
2018-06-19 14:35:23 -03:00
|
|
|
echo "== Building ==" &&
|
2024-05-28 00:28:47 +02:00
|
|
|
git clone --depth 1 https://gitlab.gnome.org/GNOME/libadwaita.git &&
|
|
|
|
cd libadwaita &&
|
|
|
|
meson setup _build --prefix=/usr -Dtests=false -Dexamples=false &&
|
|
|
|
meson compile -C _build &&
|
|
|
|
meson install -C _build &&
|
|
|
|
cd .. &&
|
|
|
|
rm -rf libadwaita &&
|
2024-05-19 22:50:30 +02:00
|
|
|
meson setup _build ${BUILD_OPTS} -Dprofile=development &&
|
|
|
|
meson compile -C _build 2>&1 | tee compilation.log
|
2018-06-19 14:35:23 -03:00
|
|
|
|
2018-07-15 11:24:32 -03:00
|
|
|
.Run Tests: &run_tests
|
2024-05-19 22:15:56 +02:00
|
|
|
export GSK_RENDERER=ngl &&
|
2018-07-15 11:24:32 -03:00
|
|
|
echo "== Testing ==" &&
|
2024-05-19 22:44:12 +02:00
|
|
|
meson test -C _build --verbose --no-stdsplit --no-rebuild
|
2018-07-15 11:24:32 -03:00
|
|
|
|
2021-07-22 05:33:09 +03:00
|
|
|
.fedora.container.common:
|
|
|
|
variables:
|
2024-05-19 19:59:14 +02:00
|
|
|
# When branching a stable release, change 'main' to the
|
|
|
|
# release branch name to ensure that a new image will
|
|
|
|
# be created, tailored for the stable branch.
|
|
|
|
# Should probably also switch away from 'rawhide',
|
2021-07-22 05:33:09 +03:00
|
|
|
# to stable fedora branch as well.
|
2024-05-19 19:59:14 +02:00
|
|
|
BRANCH_NAME: 'main'
|
2024-05-28 00:28:47 +02:00
|
|
|
CONTAINER_TAG: '2024-05-28.0'
|
2024-05-19 19:59:14 +02:00
|
|
|
FEDORA_VERSION: rawhide
|
|
|
|
# Derive FDO variables from this automatically.
|
|
|
|
# DO NOT edit, instead change the variables above
|
|
|
|
FDO_REPO_SUFFIX: '${BRANCH_NAME}'
|
|
|
|
FDO_DISTRIBUTION_TAG: '${CONTAINER_TAG}-fedora-${FEDORA_VERSION}'
|
|
|
|
FDO_DISTRIBUTION_VERSION: '${FEDORA_VERSION}'
|
2021-07-22 05:33:09 +03:00
|
|
|
|
|
|
|
#############################################
|
|
|
|
# Create CI Docker Images #
|
|
|
|
#############################################
|
|
|
|
|
|
|
|
# See also https://gitlab.freedesktop.org/freedesktop/ci-templates
|
|
|
|
build.container.fedora@x86_64:
|
|
|
|
extends:
|
|
|
|
- '.fdo.container-build@fedora'
|
|
|
|
- '.fedora.container.common'
|
|
|
|
stage: 'prepare'
|
|
|
|
variables:
|
|
|
|
# no need to pull the whole tree for rebuilding the image
|
|
|
|
GIT_STRATEGY: none
|
|
|
|
# Expiry sets fdo.expires on the image
|
|
|
|
FDO_EXPIRES_AFTER: 8w
|
|
|
|
# NOTES:
|
2024-05-28 00:28:47 +02:00
|
|
|
# - most packages are needed for testing
|
2024-02-14 23:02:34 +01:00
|
|
|
# - glibc-langpack-en is needed for sorting in run-style-check-diff.sh
|
2024-05-28 00:28:47 +02:00
|
|
|
# - libsass-devel, sassc are needed for building libadwaita
|
2021-07-22 05:33:09 +03:00
|
|
|
FDO_DISTRIBUTION_PACKAGES: >-
|
|
|
|
@c-development @development-tools
|
2024-05-19 22:13:34 +02:00
|
|
|
dnf5-plugins
|
2021-07-22 05:33:09 +03:00
|
|
|
git
|
2024-05-19 22:19:17 +02:00
|
|
|
llvm clang libasan libtsan libubsan compiler-rt gcovr
|
2021-07-22 05:33:09 +03:00
|
|
|
meson
|
2024-01-29 10:58:56 +10:00
|
|
|
clang-tools-extra
|
2024-02-14 23:02:34 +01:00
|
|
|
glibc-langpack-en
|
2021-07-22 05:33:09 +03:00
|
|
|
python3-dbusmock
|
|
|
|
xorg-x11-server-Xvfb
|
|
|
|
mesa-dri-drivers
|
2024-05-28 00:28:47 +02:00
|
|
|
libsass-devel sassc
|
2021-07-22 05:33:09 +03:00
|
|
|
FDO_DISTRIBUTION_EXEC: |-
|
2024-05-19 22:13:34 +02:00
|
|
|
dnf builddep -y gnome-control-center && \
|
|
|
|
dnf builddep -y gsettings-desktop-schemas && \
|
2021-07-22 05:33:09 +03:00
|
|
|
git clone https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas.git && \
|
|
|
|
cd gsettings-desktop-schemas && \
|
2024-05-19 22:50:30 +02:00
|
|
|
meson setup _build --prefix=/usr && \
|
|
|
|
meson compile -C _build && \
|
|
|
|
meson install -C _build && \
|
2021-12-13 15:44:53 -03:00
|
|
|
cd .. && \
|
2024-05-19 22:13:34 +02:00
|
|
|
dnf builddep -y gnome-settings-daemon && \
|
2021-10-16 20:52:58 +02:00
|
|
|
git clone https://gitlab.gnome.org/GNOME/gnome-settings-daemon.git && \
|
|
|
|
cd gnome-settings-daemon && \
|
2024-05-19 22:50:30 +02:00
|
|
|
meson setup _build --prefix=/usr && \
|
|
|
|
meson compile -C _build && \
|
|
|
|
meson install -C _build && \
|
2024-01-31 11:29:17 +10:00
|
|
|
cd .. && \
|
2024-05-28 00:28:47 +02:00
|
|
|
dnf builddep -y libadwaita && \
|
2024-01-31 11:29:17 +10:00
|
|
|
dnf remove -y systemtap-runtime
|
2021-07-22 05:33:09 +03:00
|
|
|
|
2018-03-01 15:37:14 -03:00
|
|
|
##
|
|
|
|
# Stage: Build
|
|
|
|
#
|
|
|
|
# Checks if GNOME Control Center is properly building and installing. This is the
|
|
|
|
# most important stage of the CI, and no MR should ever be merged if it breaks
|
|
|
|
# any of them.
|
|
|
|
##
|
|
|
|
build:
|
2021-07-22 05:33:09 +03:00
|
|
|
extends:
|
2024-05-19 19:59:14 +02:00
|
|
|
- '.fdo.suffixed-image@fedora'
|
2021-07-22 05:33:09 +03:00
|
|
|
- '.fedora.container.common'
|
2018-03-01 15:37:14 -03:00
|
|
|
stage: build
|
2018-05-12 09:24:59 -03:00
|
|
|
|
2018-03-01 15:37:14 -03:00
|
|
|
script:
|
2018-06-19 14:20:26 -03:00
|
|
|
- *environment_information
|
2018-06-19 14:35:23 -03:00
|
|
|
- *build_procedure
|
2018-03-01 15:37:14 -03:00
|
|
|
|
2018-05-14 14:32:38 -03:00
|
|
|
- echo "== Installing =="
|
2024-05-19 22:50:30 +02:00
|
|
|
- meson install -C _build
|
2018-03-01 15:37:14 -03:00
|
|
|
|
2018-05-14 14:53:48 -03:00
|
|
|
- echo "== Report =="
|
2018-05-16 15:18:57 -03:00
|
|
|
- build-aux/ci/ci-helper.sh "WARNINGS"
|
2018-05-14 14:53:48 -03:00
|
|
|
|
2024-05-19 22:44:12 +02:00
|
|
|
<<: *build_output
|
2018-06-21 11:03:57 -03:00
|
|
|
|
2018-11-18 22:10:43 -02:00
|
|
|
except:
|
|
|
|
variables:
|
2018-11-18 23:31:28 -02:00
|
|
|
- $CI_PIPELINE_SOURCE == "schedule"
|
2018-11-18 22:10:43 -02:00
|
|
|
|
2024-03-23 19:39:52 +10:00
|
|
|
# Same as build but with various off-by-default options enabled
|
|
|
|
conditional builds:
|
|
|
|
extends:
|
|
|
|
- build
|
2024-05-19 22:44:12 +02:00
|
|
|
artifacts:
|
|
|
|
# Only save build logs for these
|
|
|
|
<<: *build_logs
|
2024-03-23 19:39:52 +10:00
|
|
|
parallel:
|
|
|
|
matrix:
|
|
|
|
- BUILD_OPTS: '-Dmalcontent=true'
|
|
|
|
- BUILD_OPTS: '-Ddocumentation=true'
|
|
|
|
|
2018-03-01 15:37:14 -03:00
|
|
|
##
|
|
|
|
# Stage: Test
|
|
|
|
#
|
2023-09-09 21:34:16 +02:00
|
|
|
# Runs static checks.
|
2018-03-01 15:37:14 -03:00
|
|
|
# Runs the unit tests.
|
|
|
|
##
|
2023-09-09 21:34:16 +02:00
|
|
|
style-check-diff:
|
|
|
|
extends:
|
2024-05-19 19:59:14 +02:00
|
|
|
- '.fdo.suffixed-image@fedora'
|
2023-09-09 21:34:16 +02:00
|
|
|
- '.fedora.container.common'
|
|
|
|
needs:
|
|
|
|
- build.container.fedora@x86_64
|
|
|
|
stage: test
|
2024-02-07 18:16:51 +00:00
|
|
|
when: always
|
2023-10-11 13:36:16 +02:00
|
|
|
allow_failure: true
|
2023-09-09 21:34:16 +02:00
|
|
|
script:
|
|
|
|
- .gitlab-ci/run-style-check-diff.sh
|
|
|
|
|
2024-02-13 14:39:04 +01:00
|
|
|
check-potfiles:
|
|
|
|
extends:
|
2024-05-19 19:59:14 +02:00
|
|
|
- '.fdo.suffixed-image@fedora'
|
2024-02-13 14:39:04 +01:00
|
|
|
- '.fedora.container.common'
|
|
|
|
needs:
|
|
|
|
- build.container.fedora@x86_64
|
|
|
|
stage: test
|
|
|
|
when: always
|
2024-02-14 22:43:07 +01:00
|
|
|
variables:
|
|
|
|
GIT_SUBMODULE_STRATEGY: normal
|
2024-02-13 14:39:04 +01:00
|
|
|
script:
|
|
|
|
- .gitlab-ci/check-potfiles.sh
|
|
|
|
|
2018-03-01 15:37:14 -03:00
|
|
|
test:
|
2021-07-22 05:33:09 +03:00
|
|
|
extends:
|
2024-05-19 19:59:14 +02:00
|
|
|
- '.fdo.suffixed-image@fedora'
|
2021-07-22 05:33:09 +03:00
|
|
|
- '.fedora.container.common'
|
2018-03-01 15:37:14 -03:00
|
|
|
stage: test
|
2018-05-14 14:53:48 -03:00
|
|
|
|
2024-05-19 22:44:12 +02:00
|
|
|
needs:
|
2018-05-12 09:24:59 -03:00
|
|
|
- build
|
|
|
|
|
2018-03-01 15:37:14 -03:00
|
|
|
script:
|
2018-06-19 14:20:26 -03:00
|
|
|
- *environment_information
|
2019-03-11 16:16:50 -03:00
|
|
|
- *run_tests
|
2018-05-14 14:53:48 -03:00
|
|
|
|
2018-05-10 14:26:42 -03:00
|
|
|
- |
|
|
|
|
if [[ -n "${CI_COMMIT_TAG}" ]]; then
|
|
|
|
echo "== Distro Test =="
|
2024-05-19 22:50:30 +02:00
|
|
|
meson dist -C _build
|
2018-05-10 14:26:42 -03:00
|
|
|
fi
|
2018-05-14 22:55:02 -03:00
|
|
|
|
2023-08-23 23:54:05 +02:00
|
|
|
artifacts:
|
2024-05-19 20:47:25 +02:00
|
|
|
<<: *build_logs
|
2023-08-23 23:54:05 +02:00
|
|
|
reports:
|
2024-05-19 20:47:25 +02:00
|
|
|
junit: '_build/meson-logs/testlog.junit.xml'
|
2023-08-23 23:54:05 +02:00
|
|
|
|
2018-07-22 23:38:51 -03:00
|
|
|
except:
|
|
|
|
variables:
|
2018-11-18 23:31:28 -02:00
|
|
|
- $CI_PIPELINE_SOURCE == "schedule"
|
2018-07-22 23:38:51 -03:00
|
|
|
- $CI_COMMIT_TITLE =~ /^Update.*translation$/
|
|
|
|
|
2018-06-17 19:13:39 -03:00
|
|
|
# Runs the coverage test.
|
|
|
|
coverage:
|
2021-07-22 05:33:09 +03:00
|
|
|
extends:
|
2024-05-19 19:59:14 +02:00
|
|
|
- '.fdo.suffixed-image@fedora'
|
2021-07-22 05:33:09 +03:00
|
|
|
- '.fedora.container.common'
|
2018-06-17 19:13:39 -03:00
|
|
|
stage: test
|
2018-06-18 12:12:29 -03:00
|
|
|
variables:
|
2018-06-19 14:35:23 -03:00
|
|
|
BUILD_OPTS: "-Db_coverage=true"
|
2018-06-18 12:12:29 -03:00
|
|
|
coverage: '/^Lines:.\d+.\d+.(\d+\.\d+\%)/'
|
2018-07-15 11:22:30 -03:00
|
|
|
only:
|
2022-04-26 14:43:01 -03:00
|
|
|
- main@GNOME/gnome-control-center
|
2018-06-17 19:13:39 -03:00
|
|
|
|
|
|
|
script:
|
2018-06-19 14:20:26 -03:00
|
|
|
- *environment_information
|
2018-06-19 14:35:23 -03:00
|
|
|
- *build_procedure
|
2018-07-15 11:24:32 -03:00
|
|
|
- *run_tests
|
2018-06-17 19:13:39 -03:00
|
|
|
|
2024-05-19 22:50:30 +02:00
|
|
|
- meson compile -C _build coverage-html
|
2018-06-17 19:13:39 -03:00
|
|
|
|
2018-06-18 12:12:29 -03:00
|
|
|
# Parse the report to get the coverage result
|
|
|
|
- |
|
|
|
|
echo == Coverage ==
|
|
|
|
sed -e 's/<[^>]*>//g' _build/meson-logs/coveragereport/index.html | tr -d ' \t' | grep -A3 -P '^Lines:$' | tr '\n' ' '; echo
|
|
|
|
|
2024-05-19 20:47:25 +02:00
|
|
|
artifacts:
|
|
|
|
<<: *build_logs
|
|
|
|
|
2018-07-22 23:38:51 -03:00
|
|
|
except:
|
|
|
|
variables:
|
2018-11-18 23:31:28 -02:00
|
|
|
- $CI_PIPELINE_SOURCE == "schedule"
|
2018-07-22 23:38:51 -03:00
|
|
|
- $CI_COMMIT_TITLE =~ /^Update.*translation$/
|
|
|
|
|
2018-06-17 19:13:39 -03:00
|
|
|
##
|
2018-07-15 11:24:32 -03:00
|
|
|
# Stage: Deploy
|
2018-06-17 19:13:39 -03:00
|
|
|
#
|
2018-07-15 11:24:32 -03:00
|
|
|
# Publishes the Coverage Report generated above
|
2018-06-17 19:13:39 -03:00
|
|
|
##
|
|
|
|
pages:
|
2021-07-22 05:33:09 +03:00
|
|
|
extends:
|
2024-05-19 19:59:14 +02:00
|
|
|
- '.fdo.suffixed-image@fedora'
|
2021-07-22 05:33:09 +03:00
|
|
|
- '.fedora.container.common'
|
2018-07-15 11:24:32 -03:00
|
|
|
stage: deploy
|
2018-06-17 19:13:39 -03:00
|
|
|
dependencies:
|
|
|
|
- coverage
|
|
|
|
script:
|
|
|
|
- mv _build/meson-logs/coveragereport/ public/
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- public
|
|
|
|
only:
|
2022-04-26 14:43:01 -03:00
|
|
|
- main@GNOME/gnome-control-center
|
2018-06-17 19:13:39 -03:00
|
|
|
|
2018-08-05 21:17:32 -03:00
|
|
|
except:
|
|
|
|
variables:
|
|
|
|
- $CRON_TASK == "BUILD_CI_IMAGES"
|
|
|
|
- $CI_COMMIT_TITLE =~ /^Update.*translation$/
|
|
|
|
|
2018-06-19 17:04:44 -03:00
|
|
|
##
|
2018-07-15 11:24:32 -03:00
|
|
|
# Stage: Manual
|
2018-05-14 22:55:02 -03:00
|
|
|
#
|
2018-07-15 11:24:32 -03:00
|
|
|
# Creates a flatpak
|
2018-05-14 22:55:02 -03:00
|
|
|
##
|
2018-07-15 11:24:32 -03:00
|
|
|
flatpak:
|
2018-08-11 10:51:38 +00:00
|
|
|
stage: manual
|
2022-07-27 12:43:42 +02:00
|
|
|
image: quay.io/gnome_infrastructure/gnome-runtime-images:gnome-master
|
2018-05-14 22:55:02 -03:00
|
|
|
artifacts:
|
|
|
|
name: package
|
|
|
|
paths:
|
|
|
|
- $(pwd)/*.flatpak
|
2018-11-27 15:59:34 -02:00
|
|
|
expire_in: 7 days
|
2018-05-14 22:55:02 -03:00
|
|
|
|
|
|
|
variables:
|
2018-11-27 15:59:03 -02:00
|
|
|
OLD_APPID: "org.gnome.Settings"
|
2024-02-08 16:07:57 -05:00
|
|
|
APPID: "org.gnome.Settings.Devel"
|
|
|
|
BUNDLE: "org.gnome.Settings.Devel.flatpak"
|
|
|
|
MANIFEST_PATH: "build-aux/flatpak/org.gnome.Settings.Devel.json"
|
2018-05-14 22:55:02 -03:00
|
|
|
PROJECT_ID: "org.gnome.Settings"
|
|
|
|
PROJECT_NAME: "gnome-control-center.git"
|
|
|
|
RUNTIME_REPO: "https://sdk.gnome.org/gnome-nightly.flatpakrepo"
|
|
|
|
|
|
|
|
script:
|
|
|
|
- echo "== Flatpak packaging =="
|
|
|
|
|
|
|
|
# Make it a develoment manifest
|
|
|
|
- sed -i -n "p; s/$PROJECT_NAME//p" ${MANIFEST_PATH}
|
|
|
|
- >
|
|
|
|
sed -i "s,\"app-id\" : \"$PROJECT_ID\",\"app-id\" : \"<<ID>>\",g" ${MANIFEST_PATH}
|
|
|
|
- >
|
|
|
|
sed -i "s,\"url\" : \"https://gitlab.gnome.org/GNOME/$PROJECT_NAME\",\"branch\" : \"<<current>>\"\,,g" ${MANIFEST_PATH}
|
|
|
|
- >
|
|
|
|
sed -i "s,\"url\" : \"https://gitlab.gnome.org/GNOME/\",\"path\" : \".\",g" ${MANIFEST_PATH}
|
|
|
|
|
|
|
|
# Adjust the manifest to HEAD
|
|
|
|
- sed -i "s,<<ID>>,$APPID,g" ${MANIFEST_PATH}
|
|
|
|
- sed -i "s,<<current>>,origin/$CI_COMMIT_REF_NAME,g" ${MANIFEST_PATH}
|
|
|
|
|
2018-11-27 15:59:03 -02:00
|
|
|
# Update the icon name
|
|
|
|
- mv data/icons/hicolor/scalable/apps/$OLD_APPID.svg data/icons/hicolor/scalable/apps/$APPID.svg
|
|
|
|
- mv data/icons/hicolor/symbolic/apps/$OLD_APPID-symbolic.svg data/icons/hicolor/symbolic/apps/$APPID-symbolic.svg
|
|
|
|
|
2022-09-07 22:05:18 +02:00
|
|
|
- flatpak-builder --bundle-sources --disable-rofiles-fuse --repo=devel build ${MANIFEST_PATH}
|
2018-05-14 22:55:02 -03:00
|
|
|
- flatpak build-bundle devel ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${APPID}
|
|
|
|
|
2018-05-17 12:17:10 -03:00
|
|
|
cache:
|
|
|
|
paths:
|
|
|
|
- .flatpak-builder/cache
|
2018-08-11 10:51:38 +00:00
|
|
|
when: manual
|
|
|
|
except:
|
|
|
|
- tags
|
|
|
|
- gnome-3-.*
|
2022-04-26 14:43:01 -03:00
|
|
|
- main@GNOME/gnome-control-center
|
2018-05-17 12:17:10 -03:00
|
|
|
|
2018-07-15 11:24:32 -03:00
|
|
|
# Runs the sanitizers [address, thread, undefined, and memory].
|
2018-06-21 13:51:49 -03:00
|
|
|
.sanitizer: &sanitizer
|
2021-07-22 05:33:09 +03:00
|
|
|
extends:
|
2024-05-19 19:59:14 +02:00
|
|
|
- '.fdo.suffixed-image@fedora'
|
2021-07-22 05:33:09 +03:00
|
|
|
- '.fedora.container.common'
|
2024-05-19 22:44:12 +02:00
|
|
|
dependencies:
|
|
|
|
- build.container.fedora@x86_64
|
2018-07-15 11:24:32 -03:00
|
|
|
stage: manual
|
|
|
|
when: manual
|
2018-06-21 13:51:49 -03:00
|
|
|
script:
|
|
|
|
- *environment_information
|
|
|
|
- *build_procedure
|
2018-07-15 11:24:32 -03:00
|
|
|
- *run_tests
|
2018-06-21 13:51:49 -03:00
|
|
|
|
2024-05-19 20:47:25 +02:00
|
|
|
artifacts:
|
|
|
|
<<: *build_logs
|
|
|
|
|
2018-07-22 23:38:51 -03:00
|
|
|
except:
|
|
|
|
variables:
|
2018-11-18 23:31:28 -02:00
|
|
|
- $CI_PIPELINE_SOURCE == "schedule"
|
2018-07-22 23:38:51 -03:00
|
|
|
- $CI_COMMIT_TITLE =~ /^Update.*translation$/
|
|
|
|
|
2024-05-19 13:50:17 +02:00
|
|
|
asan:
|
|
|
|
<<: *sanitizer
|
|
|
|
# ASAN requires debugging capabilities
|
|
|
|
tags: [ asan ]
|
|
|
|
variables:
|
|
|
|
BUILD_OPTS: "-Db_sanitize=address"
|
|
|
|
LSAN_OPTIONS: "suppressions=${CI_PROJECT_DIR}/build-aux/ci/lsan.supp"
|
2018-06-21 13:51:49 -03:00
|
|
|
|
|
|
|
tsan:
|
|
|
|
<<: *sanitizer
|
|
|
|
variables:
|
|
|
|
BUILD_OPTS: "-Db_sanitize=thread"
|
|
|
|
|
|
|
|
ubsan:
|
|
|
|
<<: *sanitizer
|
|
|
|
variables:
|
|
|
|
BUILD_OPTS: "-Db_sanitize=undefined"
|
|
|
|
|
|
|
|
msan:
|
|
|
|
<<: *sanitizer
|
|
|
|
variables:
|
|
|
|
BUILD_OPTS: "-Db_sanitize=memory"
|
|
|
|
CC: "clang"
|