Run the xSSL Valgrind test in the same runner
Building the SSL library is too much overhead, let's do this only once and re-build and run libstrophe with Valgrind enabled in the same runner. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
@@ -75,9 +75,6 @@ jobs:
|
|||||||
- { version: "openssl-3.2.1", continue: false, libressl: false }
|
- { version: "openssl-3.2.1", continue: false, libressl: false }
|
||||||
- { version: "openssl-3.3", continue: true, libressl: false }
|
- { version: "openssl-3.3", continue: true, libressl: false }
|
||||||
- { version: "openssl-3.3.0", continue: false, libressl: false }
|
- { version: "openssl-3.3.0", continue: false, libressl: false }
|
||||||
valgrind:
|
|
||||||
- { configure: '' , make: 'check' }
|
|
||||||
- { configure: '--enable-valgrind' , make: 'check-valgrind' }
|
|
||||||
name: xSSL tests
|
name: xSSL tests
|
||||||
continue-on-error: ${{ matrix.xssl_versions.continue }}
|
continue-on-error: ${{ matrix.xssl_versions.continue }}
|
||||||
steps:
|
steps:
|
||||||
@@ -95,11 +92,19 @@ jobs:
|
|||||||
- name: Build the library
|
- name: Build the library
|
||||||
run: |
|
run: |
|
||||||
./bootstrap.sh
|
./bootstrap.sh
|
||||||
./configure ${{ matrix.valgrind.configure }} PKG_CONFIG_PATH="${HOME}/xssl/lib/pkgconfig" CFLAGS="-Werror -g3" --prefix="${HOME}/xssl"
|
./configure PKG_CONFIG_PATH="${HOME}/xssl/lib/pkgconfig" CFLAGS="-Werror -g3" --prefix="${HOME}/xssl"
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
make -j$(nproc) ${{ matrix.valgrind.make }}
|
make -j$(nproc) check
|
||||||
|
- name: Build the library with Valgrind enabled
|
||||||
|
run: |
|
||||||
|
./bootstrap.sh
|
||||||
|
./configure --enable-valgrind PKG_CONFIG_PATH="${HOME}/xssl/lib/pkgconfig" CFLAGS="-Werror -g3" --prefix="${HOME}/xssl"
|
||||||
|
make -j$(nproc)
|
||||||
|
- name: Run tests with Valgrind enabled
|
||||||
|
run: |
|
||||||
|
make -j$(nproc) check-valgrind
|
||||||
- name: Error logs
|
- name: Error logs
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user