GHA/linux: review and prune valgrind use

Valgrind jobs are slow, drop it from jobs where its use is redundant
and/or has limited impact:

- BearSSL: deprecated.
- LibreSSL heimdal with autotools.
  Keep valgrind for the same job with cmake.
- msh3.
- IntelC no-SSL.
  Keep valgrind for IntelC OpenSSL.
- OpenSSL 3.
  All OpenSSL jobs are v3 now, keep valgrind for the `-O3`, and
  libssh2 + sync-resolver variants.

Closes #15020
This commit is contained in:
Viktor Szakats 2024-09-23 21:05:37 +02:00
parent 68a224c291
commit 73ea09b9ef
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -66,8 +66,8 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
build: build:
- name: bearssl valgrind - name: bearssl
install_packages: zlib1g-dev valgrind install_packages: zlib1g-dev
install_steps: bearssl pytest install_steps: bearssl pytest
configure: LDFLAGS="-Wl,-rpath,$HOME/bearssl/lib" --with-bearssl=$HOME/bearssl --enable-debug configure: LDFLAGS="-Wl,-rpath,$HOME/bearssl/lib" --with-bearssl=$HOME/bearssl --enable-debug
singleuse: --unit singleuse: --unit
@ -78,8 +78,8 @@ jobs:
configure: CC=clang LDFLAGS="-Wl,-rpath,$HOME/bearssl/lib" --with-bearssl=$HOME/bearssl --enable-debug configure: CC=clang LDFLAGS="-Wl,-rpath,$HOME/bearssl/lib" --with-bearssl=$HOME/bearssl --enable-debug
singleuse: --unit singleuse: --unit
- name: libressl heimdal valgrind - name: libressl heimdal
install_packages: zlib1g-dev heimdal-dev valgrind install_packages: zlib1g-dev heimdal-dev
install_steps: libressl pytest install_steps: libressl pytest
configure: LDFLAGS="-Wl,-rpath,$HOME/libressl/lib" --with-openssl=$HOME/libressl --with-gssapi --enable-debug configure: LDFLAGS="-Wl,-rpath,$HOME/libressl/lib" --with-openssl=$HOME/libressl --with-gssapi --enable-debug
singleuse: --unit singleuse: --unit
@ -120,8 +120,8 @@ jobs:
configure: CC=clang LDFLAGS="-Wl,-rpath,$HOME/mbedtls/lib" --with-mbedtls=$HOME/mbedtls --enable-debug configure: CC=clang LDFLAGS="-Wl,-rpath,$HOME/mbedtls/lib" --with-mbedtls=$HOME/mbedtls --enable-debug
singleuse: --unit singleuse: --unit
- name: msh3 valgrind - name: msh3
install_packages: zlib1g-dev valgrind install_packages: zlib1g-dev
install_steps: quictls msh3 install_steps: quictls msh3
configure: LDFLAGS="-Wl,-rpath,$HOME/msh3/lib -Wl,-rpath,$HOME/quictls/lib" --with-msh3=$HOME/msh3 --with-openssl=$HOME/quictls --enable-debug configure: LDFLAGS="-Wl,-rpath,$HOME/msh3/lib -Wl,-rpath,$HOME/quictls/lib" --with-msh3=$HOME/msh3 --with-openssl=$HOME/quictls --enable-debug
singleuse: --unit singleuse: --unit
@ -149,13 +149,13 @@ jobs:
configure: --with-openssl --enable-debug --disable-threaded-resolver --with-libssh2 configure: --with-openssl --enable-debug --disable-threaded-resolver --with-libssh2
singleuse: --unit singleuse: --unit
- name: openssl3 valgrind - name: openssl3
install_packages: zlib1g-dev valgrind install_packages: zlib1g-dev
install_steps: gcc-11 openssl3 pytest install_steps: gcc-11 openssl3 pytest
configure: CFLAGS=-std=gnu89 LDFLAGS="-Wl,-rpath,$HOME/openssl3/lib" --with-openssl=$HOME/openssl3 --enable-debug --enable-websockets configure: CFLAGS=-std=gnu89 LDFLAGS="-Wl,-rpath,$HOME/openssl3/lib" --with-openssl=$HOME/openssl3 --enable-debug --enable-websockets
singleuse: --unit singleuse: --unit
- name: openssl3-O3 valgrind - name: openssl3 -O3 valgrind
install_packages: zlib1g-dev valgrind install_packages: zlib1g-dev valgrind
install_steps: gcc-11 openssl3 install_steps: gcc-11 openssl3
configure: CPPFLAGS=-DCURL_WARN_SIGN_CONVERSION CFLAGS=-O3 LDFLAGS="-Wl,-rpath,$HOME/openssl3/lib" --with-openssl=$HOME/openssl3 --enable-debug --enable-websockets configure: CPPFLAGS=-DCURL_WARN_SIGN_CONVERSION CFLAGS=-O3 LDFLAGS="-Wl,-rpath,$HOME/openssl3/lib" --with-openssl=$HOME/openssl3 --enable-debug --enable-websockets
@ -249,8 +249,8 @@ jobs:
configure: --with-rustls=$HOME/rustls --enable-debug configure: --with-rustls=$HOME/rustls --enable-debug
singleuse: --unit singleuse: --unit
- name: IntelC !SSL valgrind - name: IntelC !SSL
install_packages: zlib1g-dev valgrind install_packages: zlib1g-dev
install_steps: intel install_steps: intel
configure: CC=icc --enable-debug --without-ssl configure: CC=icc --enable-debug --without-ssl
singleuse: --unit singleuse: --unit