Upload artifacts despite possible test failures

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27089)

(cherry picked from commit 289dcbe008)
This commit is contained in:
Bernd Edlinger 2025-03-21 17:34:24 +01:00 committed by Tomas Mraz
parent f9df49d5a8
commit c7edd96206
2 changed files with 20 additions and 0 deletions

View File

@ -99,6 +99,7 @@ jobs:
run: |
util/wrap.pl -fips apps/openssl list -providers | grep 'name: CI FIPS Provider for OpenSSL$'
- name: save artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: "ci@basic-gcc"
@ -121,6 +122,7 @@ jobs:
- name: make test
run: .github/workflows/make-test
- name: save artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: "ci@basic-clang"
@ -143,6 +145,7 @@ jobs:
- name: make test
run: .github/workflows/make-test
- name: save artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: "ci@linux-arm64"
@ -184,6 +187,7 @@ jobs:
./util/opensslwrap.sh version -c
.github/workflows/make-test
- name: save artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: "ci@BSD-x86_64"
@ -206,6 +210,7 @@ jobs:
- name: make test
run: .github/workflows/make-test
- name: save artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: "ci@minimal"
@ -228,6 +233,7 @@ jobs:
- name: make test
run: .github/workflows/make-test
- name: save artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: "ci@no-deprecated"
@ -250,6 +256,7 @@ jobs:
- name: make test
run: .github/workflows/make-test
- name: save artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: "ci@no-shared-ubuntu"
@ -276,6 +283,7 @@ jobs:
- name: make test
run: .github/workflows/make-test
- name: save artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: "ci@no-shared-${{ matrix.os }}"
@ -302,6 +310,7 @@ jobs:
- name: make test
run: .github/workflows/make-test OPENSSL_TEST_RAND_ORDER=0 TESTS="-test_fuzz* -test_ssl_* -test_sslapi -test_evp -test_cmp_http -test_verify -test_cms -test_store -test_enc -[01][0-9]"
- name: save artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: "ci@non-caching"
@ -328,6 +337,7 @@ jobs:
- name: make test
run: .github/workflows/make-test OPENSSL_TEST_RAND_ORDER=0
- name: save artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: "ci@address_ub_sanitizer"
@ -354,6 +364,7 @@ jobs:
- name: make test
run: .github/workflows/make-test OPENSSL_TEST_RAND_ORDER=0 TESTS="test_fuzz*"
- name: save artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: "ci@fuzz_tests"
@ -382,6 +393,7 @@ jobs:
- name: make test
run: .github/workflows/make-test OPENSSL_TEST_RAND_ORDER=0
- name: save artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: "ci@memory_sanitizer"
@ -408,6 +420,7 @@ jobs:
- name: make test
run: .github/workflows/make-test V=1 TESTS="test_lhash test_threads test_internal_provider test_provfetch test_provider test_pbe test_evp_kdf test_pkcs12 test_store test_evp test_quic*"
- name: save artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: "ci@threads_sanitizer"
@ -432,6 +445,7 @@ jobs:
- name: make test
run: .github/workflows/make-test
- name: save artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: "ci@enable_non-default_options"
@ -462,6 +476,7 @@ jobs:
- name: make test
run: .github/workflows/make-test
- name: save artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: "ci@full_featured"
@ -484,6 +499,7 @@ jobs:
- name: make test
run: .github/workflows/make-test
- name: save artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: "ci@no-legacy"
@ -506,6 +522,7 @@ jobs:
- name: make test
run: .github/workflows/make-test
- name: save artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: "ci@legacy"
@ -548,6 +565,7 @@ jobs:
run: ../source/.github/workflows/make-test
working-directory: ./build
- name: save artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: "ci@out-of-readonly-source-and-install-ubuntu"
@ -592,6 +610,7 @@ jobs:
run: ../source/.github/workflows/make-test
working-directory: ./build
- name: save artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: "ci@out-of-readonly-source-and-install-${{ matrix.os }}"

View File

@ -216,6 +216,7 @@ jobs:
TESTS="test_evp*" \
QEMU_LD_PREFIX=/usr/${{ matrix.platform.arch }}
- name: save artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: "cross-compiles@${{ matrix.platform.arch }}"