Skip to content

Commit

Permalink
CI: Add OpenSSL 3.1 builds, including a no-engine build.
Browse files Browse the repository at this point in the history
(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
  • Loading branch information
notroj committed Feb 29, 2024
1 parent fcaf73d commit f65a498
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion test/travis_before_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 2 additions & 0 deletions test/travis_run_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f65a498

Please sign in to comment.