]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Add Travis job against OpenSSL 3 with -Werror but with deprecation
authorJoe Orton <jorton@apache.org>
Wed, 15 Dec 2021 11:37:53 +0000 (11:37 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 15 Dec 2021 11:37:53 +0000 (11:37 +0000)
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

.travis.yml
test/travis_before_linux.sh

index 90028a8329a495399a617d9534e897e202917955..966ac47acbecd3c33be77c735d0dce0b23401282 100644 (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
index 9fa8fd4e7b191b92ae28aa4cc8f81db4ff822747..0da000ab7dfdda991551f17a7e77ad2a94a21b0e 100755 (executable)
@@ -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" |