CI: Add OpenSSL 3.1 builds, including a no-engine build.

(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
This commit is contained in:
Joe Orton
2024-02-29 15:33:38 +00:00
parent fcaf73d28c
commit f65a498b3b
3 changed files with 26 additions and 1 deletions

View 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:

View File

@ -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}

View File

@ -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