From d2da05aa1b5dcd2b76a3b4ad2bd3e62f244d3f17 Mon Sep 17 00:00:00 2001 From: Iker Pedrosa Date: Fri, 11 Mar 2022 15:38:13 +0100 Subject: [PATCH] CI: add fedora to build Signed-off-by: Iker Pedrosa --- .builds/fedora.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .builds/fedora.yml diff --git a/.builds/fedora.yml b/.builds/fedora.yml new file mode 100644 index 00000000..9c426631 --- /dev/null +++ b/.builds/fedora.yml @@ -0,0 +1,31 @@ +image: fedora/latest +packages: + - autoconf + - automake + - byacc + - expect + - findutils + - gettext + - gettext-devel + - git + - libselinux-devel + - libsemanage-devel + - libtool + - libxslt +sources: + - https://github.com/shadow-maint/shadow +tasks: + - build: | + cd shadow + ./autogen.sh --with-selinux --enable-man + grep ENABLE_ config.status + - tasks: | + cd shadow + cat /proc/self/uid_map + cat /proc/self/status + make + make DESTDIR=/tmp/shadow-inst install + sudo make install + #TODO - fix up the tests. Let's merge what's here now as it + #at least tests build. + #(cd tests; sudo ./run_some || { cat testsuite.log; false; })