]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
CI: add fedora to build
authorIker Pedrosa <ipedrosa@redhat.com>
Fri, 11 Mar 2022 14:38:13 +0000 (15:38 +0100)
committerSerge Hallyn <serge@hallyn.com>
Fri, 11 Mar 2022 18:40:47 +0000 (12:40 -0600)
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
.builds/fedora.yml [new file with mode: 0644]

diff --git a/.builds/fedora.yml b/.builds/fedora.yml
new file mode 100644 (file)
index 0000000..9c42663
--- /dev/null
@@ -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; })