]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Add test for zlib development branch.
authorDarren Tucker <dtucker@dtucker.net>
Mon, 21 Aug 2023 08:05:26 +0000 (18:05 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Mon, 21 Aug 2023 09:17:18 +0000 (19:17 +1000)
.github/configs
.github/setup_ci.sh
.github/workflows/c-cpp.yml

index e054eb3196b5f18638a92944cd25a8f8d09689e0..66cb2d0e8e2b2f8d2896e7e403a75c1ac7ee1ea7 100755 (executable)
@@ -205,6 +205,10 @@ case "$config" in
                ;;
        esac
        ;;
+    zlib-develop)
+       INSTALL_ZLIB=develop
+       CONFIGFLAGS="--with-zlib=/opt/zlib --with-rpath=-Wl,-rpath,"
+       ;;
     *)
        echo "Unknown configuration $config"
        exit 1
index 154f51bdc20521b62ac20f54815f1e283e2cbd4c..010a333a66424327f88288ac4ab8930bbc573f3c 100755 (executable)
@@ -133,6 +133,8 @@ for TARGET in $TARGETS; do
     valgrind*)
        PACKAGES="$PACKAGES valgrind"
        ;;
+    zlib-*)
+       ;;
     *) echo "Invalid option '${TARGET}'"
         exit 1
         ;;
@@ -214,3 +216,9 @@ if [ ! -z "${INSTALL_BORINGSSL}" ]; then
      cp ${HOME}/boringssl/build/crypto/libcrypto.a /opt/boringssl/lib &&
      cp -r ${HOME}/boringssl/include /opt/boringssl)
 fi
+
+if [ ! -z "${INSTALL_ZLIB}" ]; then
+    (cd ${HOME} && git clone https://github.com/madler/zlib.git &&
+     cd ${HOME}/zlib && ./configure && make &&
+     sudo make install prefix=/opt/zlib)
+fi
index e4e2a64e05d2b89203b958cbe39046d19dc1ca56..be0c97f84cfd844b43b038aa5b63d910bb7a9a6b 100644 (file)
@@ -73,6 +73,7 @@ jobs:
           - { target: ubuntu-latest, config: openssl-3.1.0 }
           - { target: ubuntu-latest, config: openssl-1.1.1_stable }
           - { target: ubuntu-latest, config: openssl-3.0 }  # stable branch
+          - { target: ubuntu-latest, config: zlib-develop }
           - { target: ubuntu-22.04, config: pam }
           - { target: ubuntu-22.04, config: krb5 }
           - { target: ubuntu-22.04, config: heimdal }