Add Travis job against OpenSSL 3 with -Werror but with deprecation

warnings disabled.
Be careful to remove the previous OpenSSL install prefix is rebuilding.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1895982 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Joe Orton
2021-12-15 11:37:53 +00:00
parent 15a5cde916
commit 590eb5905d
2 changed files with 10 additions and 0 deletions

View File

@ -271,6 +271,13 @@ jobs:
CONFIG="--enable-mods-shared=ssl --with-mpm=event"
TEST_SSL=1 TEST_OPENSSL3=3.0.1
# -------------------------------------------------------------------------
- name: Linux Ubuntu, APR trunk, minimal module set, OpenSSL 3.x -Werror
if: *condition_not_24x
env: APR_VERSION=trunk APR_CONFIG="--without-pgsql --without-mysql --without-odbc --with-crypto"
CONFIG="--enable-mods-shared=ssl --with-mpm=event"
TEST_OPENSSL3=3.0.1 SKIP_TESTING=1
NOTEST_CFLAGS="-Werror -Wno-deprecated-declarations"
# -------------------------------------------------------------------------
- if: *condition_24x_only
name: Linux Ubuntu, APR 1.7, minimal module set, OpenSSL 3.x
env: APR_VERSION=1.7.0

View File

@ -117,6 +117,9 @@ if test -v TEST_OPENSSL3; then
# Build the requested version of OpenSSL if it's not already
# installed in the cached ~/root
if ! test -f $HOME/root/openssl-is-${TEST_OPENSSL3}; then
# Remove any previous install.
rm -rf $HOME/root/openssl3
mkdir -p build/openssl
pushd build/openssl
curl "https://www.openssl.org/source/openssl-${TEST_OPENSSL3}.tar.gz" |