@@ -230,6 +230,11 @@ jobs:
230230 library :
231231 name : libressl
232232 version : 4.1.0
233+ - target : x86_64-unknown-linux-gnu
234+ bindgen : false
235+ library :
236+ name : openssl-no-deprecated
237+ version : 3.5.0
233238 name : ${{ matrix.target }}-${{ matrix.library.name }}-${{ matrix.library.version }}-${{ matrix.bindgen }}
234239 runs-on : ubuntu-22.04
235240 env :
@@ -273,7 +278,7 @@ jobs:
273278 - name : Build OpenSSL
274279 run : |
275280 case "${{ matrix.library.name }}" in
276- "openssl")
281+ "openssl"* )
277282 if [[ "${{ matrix.library.old }}" == "true" ]]; then
278283 url="https://www.openssl.org/source${{ matrix.library.dl-path }}/openssl-${{ matrix.library.version }}.tar.gz"
279284 else
@@ -327,6 +332,11 @@ jobs:
327332 make
328333 make install_sw
329334 ;;
335+ "openssl-no-deprecated")
336+ ./Configure --prefix=$OPENSSL_DIR --libdir=lib $OS_COMPILER -fPIC -g $OS_FLAGS --api=3.0 no-deprecated no-shared
337+ make
338+ make install_sw
339+ ;;
330340 "libressl")
331341 ./configure --prefix=$OPENSSL_DIR --disable-shared --with-pic
332342 make
@@ -401,6 +411,7 @@ jobs:
401411 cargo run --manifest-path=systest/Cargo.toml --target ${{ matrix.target }} $features
402412 if : ${{ !(matrix.library.name == 'boringssl' || matrix.library.name == 'aws-lc') }}
403413 - name : Test openssl
414+ if : ${{ ! endsWith(matrix.library.name, 'no-deprecated') }}
404415 run : |
405416 if [[ "${{ matrix.library.name }}" == "boringssl" && "${{ matrix.bindgen }}" != "true" ]]; then
406417 features="--features unstable_boringssl"
@@ -426,4 +437,4 @@ jobs:
426437 features="$features --features openssl-sys/bindgen"
427438 fi
428439 cargo test --manifest-path=openssl-errors/Cargo.toml --target ${{ matrix.target }} $features
429- if : ${{ !(matrix.library.name == 'boringssl' || matrix.library.name == 'aws-lc') }}
440+ if : ${{ !(matrix.library.name == 'boringssl' || matrix.library.name == 'aws-lc' || endsWith(matrix.library.name, 'no-deprecated') ) }}
0 commit comments