]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
add alpine edge CI build
authorSerge Hallyn <serge@hallyn.com>
Mon, 27 Dec 2021 19:56:55 +0000 (13:56 -0600)
committerSerge Hallyn <serge@hallyn.com>
Mon, 27 Dec 2021 21:47:26 +0000 (15:47 -0600)
Mainly to get a musl build in there.

Signed-off-by: Serge Hallyn <serge@hallyn.com>
.builds/alpine-edge.yml [new file with mode: 0644]

diff --git a/.builds/alpine-edge.yml b/.builds/alpine-edge.yml
new file mode 100644 (file)
index 0000000..ec5355b
--- /dev/null
@@ -0,0 +1,32 @@
+image: alpine/latest
+# apk add --update alpine-sdk
+packages:
+  - cmd:setcap
+  - autoconf
+  - automake
+  - byacc
+  - expect
+  - gettext
+  - gettext-dev
+  - gettext-lang
+  - libcap-dev
+  - libtool
+  - linux-pam-dev
+  - sed
+sources:
+  - https://github.com/shadow-maint/shadow
+tasks:
+  - build: |
+      cd shadow
+      ./autogen.sh --without-selinux --disable-man --disable-nls
+      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; })