From e751bc67eb8dbebea3a5d11b5114858688c7f8c9 Mon Sep 17 00:00:00 2001 From: Serge Hallyn Date: Mon, 27 Dec 2021 13:21:24 -0600 Subject: [PATCH] add ubuntu impish build Signed-off-by: Serge Hallyn --- .build.yml => .builds/ubuntu-focal.yml | 0 .builds/ubuntu-impish.yml | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+) rename .build.yml => .builds/ubuntu-focal.yml (100%) create mode 100644 .builds/ubuntu-impish.yml diff --git a/.build.yml b/.builds/ubuntu-focal.yml similarity index 100% rename from .build.yml rename to .builds/ubuntu-focal.yml diff --git a/.builds/ubuntu-impish.yml b/.builds/ubuntu-impish.yml new file mode 100644 index 00000000..71c0f176 --- /dev/null +++ b/.builds/ubuntu-impish.yml @@ -0,0 +1,26 @@ +image: ubuntu/21.10 +packages: + - automake + - autopoint + - xsltproc + - libselinux1-dev + - gettext + - expect + - byacc + - libtool +sources: + - https://github.com/shadow-maint/shadow +tasks: + - build: | + cd shadow + ./autogen.sh --without-selinux --enable-man + grep ENABLE_ config.status + - tasks: | + cat /proc/self/uid_map + cat /proc/self/status + systemd-detect-virt + cd shadow + make + make DESTDIR=/tmp/shadow-inst install + sudo make install + (cd tests; sudo ./run_some || { cat testsuite.log; false; })