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 @@ -210,18 +210,17 @@ jobs:
210
210
# TEST_MD=1
211
211
# -------------------------------------------------------------------------
212
212
# ## TODO: if: *condition_not_24x
213
- # ## TODO: fix caching here.
214
213
- name : MOD_TLS test suite
215
214
config : --enable-mods-shared=reallyall --with-mpm=event --enable-mpms-shared=event
216
215
pkgs : curl python3-pytest nghttp2-client python3-cryptography python3-requests python3-multipart python3-filelock python3-websockets cargo cbindgen
217
216
env : |
218
217
APR_VERSION=1.7.4
219
218
APU_VERSION=1.6.3
220
219
APU_CONFIG="--with-crypto"
220
+ RUSTLS_VERSION="v0.10.0"
221
221
NO_TEST_FRAMEWORK=1
222
222
TEST_INSTALL=1
223
223
TEST_MOD_TLS=1
224
- CLEAR_CACHE=1
225
224
# -------------------------------------------------------------------------
226
225
# ## TODO if: *condition_not_24x
227
226
# ## TODO: Fails because :i386 packages are not being found.
Original file line number Diff line number Diff line change @@ -176,3 +176,15 @@ if test -v APU_VERSION; then
176
176
install_apx apr-util ${APU_VERSION} " ${APU_CONFIG} " --with-apr=$HOME /build/apr-${APR_VERSION}
177
177
ldd $HOME /root/apr-util-${APU_VERSION} /lib/libaprutil-? .so || true
178
178
fi
179
+
180
+ # Since librustls is not a package (yet) on any platform, we
181
+ # build the version we want from source
182
+ if test -v TEST_MOD_TLS -a -v RUSTLS_VERSION; then
183
+ if ! test -d $HOME /root/rustls; then
184
+ RUSTLS_HOME=" $HOME /build/rustls-ffi"
185
+ git clone -q --depth=1 -b " $RUSTLS_VERSION " https://github.com/rustls/rustls-ffi.git " $RUSTLS_HOME "
186
+ pushd " $RUSTLS_HOME "
187
+ make install DESTDIR=" $HOME /root/rustls"
188
+ popd
189
+ fi
190
+ 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