]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
CI: Add OpenSSL 3.1 builds, including a no-engine build.
authorJoe Orton <jorton@apache.org>
Thu, 29 Feb 2024 15:33:38 +0000 (15:33 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 29 Feb 2024 15:33:38 +0000 (15:33 +0000)
(attempt to use 3.2 failed, unsure why)
- add OpenSSL build binaries to $PATH

Github: closes #415

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916058 13f79535-47bb-0310-9956-ffa450edef68

.github/workflows/linux.yml
test/travis_before_linux.sh
test/travis_run_linux.sh

index 0f4065253f69d3d59a8e2cd1e783147251031e7e..4c9abf8c4c2eab9b529bbac44bcdee5651e3ea99 100644 (file)
@@ -266,6 +266,29 @@ jobs:
           #     APR_VERSION=1.7.0
           #     APU_VERSION=1.6.3
           # APU_CONFIG="--with-crypto --with-ldap"
+          - name: OpenSSL 3.1 build
+            config: --enable-mods-shared=most --enable-maintainer-mode --disable-md --disable-http2 --disable-ldap --disable-crypto
+            env: |
+              TEST_OPENSSL3=3.1.5
+              APR_VERSION=1.7.4
+              APU_VERSION=1.6.3
+              APU_CONFIG="--without-crypto"
+          - name: OpenSSL 3.1 -Werror build
+            config: --enable-mods-shared=most --enable-maintainer-mode --disable-md --disable-http2 --disable-ldap --disable-crypto
+            notest-cflags: -Werror -O2 -Wno-deprecated-declarations
+            env: |
+              TEST_OPENSSL3=3.1.5
+              APR_VERSION=1.7.4
+              APU_VERSION=1.6.3
+              APU_CONFIG="--without-crypto"
+          - name: OpenSSL 3.1 no-engine build
+            config: --enable-mods-shared=most --enable-maintainer-mode --disable-md --disable-http2 --disable-ldap --disable-crypto
+            env: |
+              TEST_OPENSSL3=3.1.5
+              OPENSSL_CONFIG=no-engine
+              APR_VERSION=1.7.4
+              APU_VERSION=1.6.3
+              APU_CONFIG="--without-crypto"
     runs-on: ubuntu-latest
     timeout-minutes: 30
     env:
index 58c1337b3805dd61ed0aef3bd591d688c301580f..e67931847baf41d1726a9dca53f0e3bc63034f83 100755 (executable)
@@ -115,7 +115,7 @@ if test -v TEST_OPENSSL3; then
            curl "https://www.openssl.org/source/openssl-${TEST_OPENSSL3}.tar.gz" |
               tar -xzf -
            cd openssl-${TEST_OPENSSL3}
-           ./Configure --prefix=$HOME/root/openssl3 shared no-tests
+           ./Configure --prefix=$HOME/root/openssl3 shared no-tests ${OPENSSL_CONFIG}
            make $MFLAGS
            make install_sw
            touch $HOME/root/openssl-is-${TEST_OPENSSL3}
index 19ccb601b153b0777cf32de2abf33d6bc8234fbc..1b90879ea65d29e3d1ab9f0a073f62b8e06f28ef 100755 (executable)
@@ -62,6 +62,8 @@ fi
 if test -v TEST_OPENSSL3; then
     CONFIG="$CONFIG --with-ssl=$HOME/root/openssl3"
     export LD_LIBRARY_PATH=$HOME/root/openssl3/lib:$HOME/root/openssl3/lib64
+    export PATH=$HOME/root/openssl3/bin:$PATH
+    openssl version
 fi
 
 srcdir=$PWD