diff options
author | Tomas Mraz <tomas@openssl.org> | 2023-11-16 13:02:20 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-11-23 17:03:00 +0100 |
commit | fb1877cb1db0f34d874ada66121f3845427ef02b (patch) | |
tree | 0a43866459a44842d191f9aa992b576990004b43 | |
parent | f831adc00add9e37d730e587f86a0d656b051286 (diff) |
Cross Compiles CI: Run evp tests on pull requests
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22750)
(cherry picked from commit 0414f89d5c5187260cca63c2066580ba90c44426)
-rw-r--r-- | .github/workflows/cross-compiles.yml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/.github/workflows/cross-compiles.yml b/.github/workflows/cross-compiles.yml index 79af07c701..21683b731d 100644 --- a/.github/workflows/cross-compiles.yml +++ b/.github/workflows/cross-compiles.yml @@ -183,15 +183,15 @@ jobs: run: make -s -j4 - name: install qemu - if: github.event_name == 'push' && matrix.platform.tests != 'none' + if: matrix.platform.tests != 'none' run: sudo apt-get -yq --force-yes install qemu-user - name: Set QEMU environment - if: github.event_name == 'push' && matrix.platform.qemucpu != '' + if: matrix.platform.qemucpu != '' run: echo "QEMU_CPU=${{ matrix.platform.qemucpu }}" >> $GITHUB_ENV - name: Set OpenSSL caps environment - if: github.event_name == 'push' && matrix.platform.opensslcapsname != '' + if: matrix.platform.opensslcapsname != '' run: echo "OPENSSL_${{ matrix.platform.opensslcapsname }}=\ ${{ matrix.platform.opensslcaps }}" >> $GITHUB_ENV @@ -210,3 +210,9 @@ jobs: make test HARNESS_JOBS=${HARNESS_JOBS:-4} \ TESTS="${{ matrix.platform.tests }} -test_afalg" \ QEMU_LD_PREFIX=/usr/${{ matrix.platform.arch }} + - name: make evp tests + if: github.event_name == 'pull_request' && matrix.platform.tests != 'none' + run: | + make test HARNESS_JOBS=${HARNESS_JOBS:-4} \ + TESTS="test_evp*" \ + QEMU_LD_PREFIX=/usr/${{ matrix.platform.arch }} |