Revert "drop! Make failing tests run on pull request to test"
authorTomas Mraz <tomas@openssl.org>
Fri, 25 Aug 2023 11:39:09 +0000 (13:39 +0200)
committerTomas Mraz <tomas@openssl.org>
Fri, 25 Aug 2023 11:39:09 +0000 (13:39 +0200)
This reverts commit 86051eb2bb86e3a89e69abfb6419409aa701bcf7.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21843)

.github/workflows/compiler-zoo.yml
.github/workflows/cross-compiles.yml

index 4f805f3831bafb4d47e02cf569f168e30c5507c9..f055cf04e4541a9bf2006fb9ba16e603a7f338a4 100644 (file)
@@ -7,7 +7,7 @@
 
 name: Compiler Zoo CI
 
-on: [pull_request]
+on: [push]
 
 permissions:
   contents: read
index f61d64add8f6030459b7ad412d3dc80021b59a13..08f5930c1888dc6d650ee1f7dc0c535170092341 100644 (file)
@@ -183,26 +183,26 @@ jobs:
       run: make -s -j4
 
     - name: install qemu
-      if: matrix.platform.tests != 'none'
+      if: github.event_name == 'push' && matrix.platform.tests != 'none'
       run: sudo apt-get -yq --force-yes install qemu-user
 
     - name: Set QEMU environment
-      if: matrix.platform.qemucpu != ''
+      if: github.event_name == 'push' && matrix.platform.qemucpu != ''
       run: echo "QEMU_CPU=${{ matrix.platform.qemucpu }}" >> $GITHUB_ENV
 
     - name: Set OpenSSL caps environment
-      if: matrix.platform.opensslcapsname != ''
+      if: github.event_name == 'push' && matrix.platform.opensslcapsname != ''
       run: echo "OPENSSL_${{ matrix.platform.opensslcapsname }}=\
                  ${{ matrix.platform.opensslcaps }}" >> $GITHUB_ENV
 
     - name: make all tests
-      if: matrix.platform.tests == ''
+      if: github.event_name == 'push' && matrix.platform.tests == ''
       run: |
         make test HARNESS_JOBS=${HARNESS_JOBS:-4} \
                   TESTS="-test_afalg" \
                   QEMU_LD_PREFIX=/usr/${{ matrix.platform.arch }}
     - name: make some tests
-      if: matrix.platform.tests != 'none' && matrix.platform.tests != ''
+      if: github.event_name == 'push' && matrix.platform.tests != 'none' && matrix.platform.tests != ''
       run: |
         make test HARNESS_JOBS=${HARNESS_JOBS:-4} \
                   TESTS="${{ matrix.platform.tests }} -test_afalg" \