diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2018-12-23 13:31:14 +0100 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2018-12-24 08:52:33 +0100 |
commit | 17662042791071f1bc7b66ab328047bae6137105 (patch) | |
tree | f23f432ba7f4d42445bc68ac42b6285b47bd5a85 /travis-ci | |
parent | travis: switch to Debian Testing (diff) | |
download | systemd-17662042791071f1bc7b66ab328047bae6137105.tar.xz systemd-17662042791071f1bc7b66ab328047bae6137105.zip |
travis: add another stage to really run everything under ASan+UBsan
This should help to catch issues like https://github.com/systemd/systemd/issues/11253
and https://github.com/systemd/systemd/issues/11251.
Diffstat (limited to 'travis-ci')
-rwxr-xr-x | travis-ci/managers/xenial.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/travis-ci/managers/xenial.sh b/travis-ci/managers/xenial.sh new file mode 100755 index 0000000000..06e3c0a230 --- /dev/null +++ b/travis-ci/managers/xenial.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +set -e +set -x + +add-apt-repository ppa:pitti/systemd-semaphore -y +apt-get update +apt-get build-dep systemd -y +apt-get install -y util-linux libmount-dev libblkid-dev liblzma-dev libqrencode-dev libmicrohttpd-dev iptables-dev liblz4-dev libcurl4-gnutls-dev unifont itstool kbd cryptsetup-bin net-tools isc-dhcp-client iputils-ping strace qemu-system-x86 linux-image-virtual mount libgpg-error-dev libxkbcommon-dev python-lxml python3-lxml python3-pip libcap-dev +apt-get install -y gettext python3-evdev python3-pyparsing libmount-dev python3-setuptools ninja-build +pip3 install meson + +cd $REPO_ROOT + +sed -i 's/2\.30/2.27/' meson.build + +meson --werror -Db_sanitize=address,undefined -Dsplit-usr=true build +ninja -v -C build +make -C test/TEST-01-BASIC clean setup run TEST_NO_QEMU=yes NSPAWN_ARGUMENTS=--keep-unit |