From: Tomas Mraz Date: Thu, 16 Nov 2023 12:02:20 +0000 (+0100) Subject: Cross Compiles CI: Run evp tests on pull requests X-Git-Tag: openssl-3.1.5~138 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=761cb2fbba698f6936dd053d1b2602406c0a4e82;p=thirdparty%2Fopenssl.git Cross Compiles CI: Run evp tests on pull requests Reviewed-by: Matt Caswell Reviewed-by: Shane Lontis Reviewed-by: Hugo Landau (Merged from https://github.com/openssl/openssl/pull/22750) (cherry picked from commit 0414f89d5c5187260cca63c2066580ba90c44426) --- diff --git a/.github/workflows/cross-compiles.yml b/.github/workflows/cross-compiles.yml index ba6d82ddaeb..44d5bed3886 100644 --- a/.github/workflows/cross-compiles.yml +++ b/.github/workflows/cross-compiles.yml @@ -181,15 +181,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 @@ -205,3 +205,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 }}