mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 10:13:34 +08:00
Free up some resources on Azure Pipelines
Let's drop the tests we also run on CentOS CI to free up some resources for something more useful.
This commit is contained in:
parent
26408c7d5f
commit
b5efca2a65
@ -13,15 +13,3 @@ jobs:
|
||||
set -e
|
||||
./travis-ci/managers/fuzzbuzz.sh
|
||||
displayName: 'This is where it gets darker'
|
||||
|
||||
- job: ASan_UBSan
|
||||
displayName: ASan_UBSan
|
||||
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
|
||||
steps:
|
||||
- script: |
|
||||
set -e
|
||||
sudo ./travis-ci/managers/xenial.sh
|
||||
displayName: 'This is where it gets darker'
|
||||
|
@ -1,59 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
set -x
|
||||
|
||||
PACKAGES=(cryptsetup-bin
|
||||
gettext
|
||||
iptables-dev
|
||||
iputils-ping
|
||||
isc-dhcp-client
|
||||
itstool
|
||||
kbd
|
||||
libblkid-dev
|
||||
libcap-dev
|
||||
libcurl4-gnutls-dev
|
||||
libgpg-error-dev
|
||||
liblz4-dev
|
||||
liblzma-dev
|
||||
libmicrohttpd-dev
|
||||
libmount-dev
|
||||
libmount-dev
|
||||
libqrencode-dev
|
||||
libxkbcommon-dev
|
||||
linux-image-virtual
|
||||
mount
|
||||
net-tools
|
||||
ninja-build
|
||||
perl
|
||||
python-lxml
|
||||
python3-evdev
|
||||
python3-lxml
|
||||
python3-pip
|
||||
python3-pyparsing
|
||||
python3-setuptools
|
||||
qemu-system-x86
|
||||
quota
|
||||
strace
|
||||
unifont
|
||||
util-linux)
|
||||
|
||||
bash -c "echo 'deb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse' >>/etc/apt/sources.list"
|
||||
|
||||
apt-get update
|
||||
apt-get build-dep systemd -y
|
||||
apt-get install -y "${PACKAGES[@]}"
|
||||
pip3 install meson
|
||||
|
||||
cd ${REPO_ROOT:-$PWD}
|
||||
|
||||
sed -i 's/2\.30/2.27/' meson.build
|
||||
|
||||
meson --werror -Db_sanitize=address,undefined -Dsplit-usr=true -Dman=true build
|
||||
ninja -v -C build
|
||||
|
||||
make -C test/TEST-01-BASIC clean setup run NSPAWN_TIMEOUT=600 TEST_NO_QEMU=yes NSPAWN_ARGUMENTS=--keep-unit RUN_IN_UNPRIVILEGED_CONTAINER=no
|
||||
|
||||
# Now that we're more or less sure that ASan isn't going to crash systemd and cause a kernel panic
|
||||
# let's also run the test with QEMU to cover udevd, sysctl and everything else that isn't run
|
||||
# in containers.
|
||||
make -C test/TEST-01-BASIC clean setup run QEMU_TIMEOUT=900 TEST_NO_NSPAWN=yes
|
Loading…
Reference in New Issue
Block a user