Commit 39e25a4 1 parent 7950b44 commit 39e25a4 Copy full SHA for 39e25a4
File tree 3 files changed +16
-12
lines changed
3 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -236,18 +236,17 @@ jobs:
236
236
# TEST_MD=1
237
237
# -------------------------------------------------------------------------
238
238
# ## TODO: if: *condition_not_24x
239
- # ## TODO: fix caching here.
240
239
- name : MOD_TLS test suite
241
240
config : --enable-mods-shared=reallyall --with-mpm=event --enable-mpms-shared=event
242
241
pkgs : curl python3-pytest nghttp2-client python3-cryptography python3-requests python3-multipart python3-filelock python3-websockets cargo cbindgen
243
242
env : |
244
243
APR_VERSION=1.7.4
245
244
APU_VERSION=1.6.3
246
245
APU_CONFIG="--with-crypto"
246
+ RUSTLS_VERSION="v0.10.0"
247
247
NO_TEST_FRAMEWORK=1
248
248
TEST_INSTALL=1
249
249
TEST_MOD_TLS=1
250
- CLEAR_CACHE=1
251
250
- name : Configured w/reduced exports
252
251
config : --enable-reduced-exports --enable-maintainer-mode
253
252
env : |
Original file line number Diff line number Diff line change @@ -147,3 +147,15 @@ if test -v APU_VERSION; then
147
147
install_apx apr-util ${APU_VERSION} " ${APU_CONFIG} " --with-apr=$HOME /build/apr-${APR_VERSION}
148
148
ldd $HOME /root/apr-util-${APU_VERSION} /lib/libaprutil-? .so || true
149
149
fi
150
+
151
+ # Since librustls is not a package (yet) on any platform, we
152
+ # build the version we want from source
153
+ if test -v TEST_MOD_TLS -a -v RUSTLS_VERSION; then
154
+ if ! test -d $HOME /root/rustls; then
155
+ RUSTLS_HOME=" $HOME /build/rustls-ffi"
156
+ git clone -q --depth=1 -b " $RUSTLS_VERSION " https://github.com/rustls/rustls-ffi.git " $RUSTLS_HOME "
157
+ pushd " $RUSTLS_HOME "
158
+ make install DESTDIR=" $HOME /root/rustls"
159
+ popd
160
+ fi
161
+ fi
Original file line number Diff line number Diff line change 54
54
CONFIG=" $CONFIG --with-apr-util=/usr"
55
55
fi
56
56
57
- # Since librustls is not a package (yet) on any platform, we
58
- # build the version we want from source
59
- if test -v TEST_MOD_TLS; then
60
- RUSTLS_HOME=" $HOME /build/rustls-ffi"
61
- RUSTLS_VERSION=" v0.10.0"
62
- git clone -b " $RUSTLS_VERSION " https://github.com/rustls/rustls-ffi.git " $RUSTLS_HOME "
63
- pushd " $RUSTLS_HOME "
64
- make install DESTDIR=" $PREFIX "
65
- popd
66
- CONFIG=" $CONFIG --with-tls --with-rustls=$PREFIX "
57
+ # Pick up the rustls install built previously.
58
+ if test -v TEST_MOD_TLS -a RUSTLS_VERSION; then
59
+ CONFIG=" $CONFIG --with-tls --with-rustls=$HOME /root/rustls"
67
60
fi
68
61
69
62
if test -v TEST_OPENSSL3; then
You can’t perform that action at this time.
0 commit comments