Commit ff6b868ddd for openssl.org

commit ff6b868ddde5d603749132bbe1b4a94be878be20
Author: Jakub Zelenka <jakub.zelenka@openssl.foundation>
Date:   Wed Jun 24 16:12:37 2026 +0200

    ci: run full cross-compile tests on PRs with 'extended tests' label

    Previously the cross-compile workflow only ran the EVP tests on pull
    requests, with the full test suite done only for push events.  Allow the
    full suite to run on a pull request when it has the 'extended tests'
    label which is already used for extended tests.

    Assisted-by: Claude:claude-opus-4-8

    Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
    Reviewed-by: Milan Broz <mbroz@openssl.org>
    Reviewed-by: Paul Dale <paul.dale@oracle.com>
    Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
    MergeDate: Fri Jul  3 14:39:38 2026
    (Merged from https://github.com/openssl/openssl/pull/31705)

diff --git a/.github/workflows/cross-compiles.yml b/.github/workflows/cross-compiles.yml
index efc498edf1..3e1fbc142d 100644
--- a/.github/workflows/cross-compiles.yml
+++ b/.github/workflows/cross-compiles.yml
@@ -14,6 +14,10 @@ permissions:

 jobs:
   cross-compilation:
+    # Run the full test suite on push, and on pull requests labelled with
+    # 'extended tests'.  Other pull requests only run the EVP tests.
+    env:
+      EXTENDED: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'extended tests') }}
     strategy:
       fail-fast: false
       matrix:
@@ -211,19 +215,19 @@ jobs:
          cat /proc/cpuinfo
          QEMU_LD_PREFIX=/usr/${{ matrix.platform.arch }} ./util/opensslwrap.sh version -c
     - name: make all tests
-      if: github.event_name == 'push' && matrix.platform.tests == ''
+      if: env.EXTENDED == 'true' && matrix.platform.tests == ''
       run: |
         .github/workflows/make-test \
                   TESTS="-test_afalg" \
                   QEMU_LD_PREFIX=/usr/${{ matrix.platform.arch }}
     - name: make some tests
-      if: github.event_name == 'push' && matrix.platform.tests != 'none' && matrix.platform.tests != ''
+      if: env.EXTENDED == 'true' && matrix.platform.tests != 'none' && matrix.platform.tests != ''
       run: |
         .github/workflows/make-test \
                   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'
+      if: env.EXTENDED != 'true' && matrix.platform.tests != 'none'
       run: |
         .github/workflows/make-test \
                   TESTS="test_evp*" \