File tree 3 files changed +14
-7
lines changed
3 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -244,6 +244,7 @@ jobs:
244
244
APR_VERSION=1.7.4
245
245
APU_VERSION=1.6.3
246
246
APU_CONFIG="--with-crypto"
247
+ RUSTLS_VERSION="v0.10.0"
247
248
NO_TEST_FRAMEWORK=1
248
249
TEST_INSTALL=1
249
250
TEST_MOD_TLS=1
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 -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 57
57
# Since librustls is not a package (yet) on any platform, we
58
58
# build the version we want from source
59
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 "
60
+ CONFIG=" $CONFIG --with-tls --with-rustls=$HOME /root/rustls"
67
61
fi
68
62
69
63
if test -v TEST_OPENSSL3; then
You can’t perform that action at this time.
0 commit comments