在 2025-4-16 12:17, Jeremy Drake via Mingw-w64-public 写道:
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -110,10 +126,18 @@ jobs:
          arch:
            - x86_64
            - i686
+          - aarch64
+          - armv7
          crt:
            - ucrt
            - ucrtbase
            - msvcrt
+        exclude:
+          - arch: aarch64
+            crt: msvcrt
+          - arch: armv7
+            crt: msvcrt
+    runs-on: ${{startsWith(matrix.arch, 'a') && 'windows-11-arm' || 
'windows-latest'}}
      steps:
        - uses: msys2/setup-msys2@v2
          with:
@@ -156,20 +180,22 @@ jobs:
                $arch-w64-mingw32-clang $defs -fno-builtin test/crt-test.c -o 
$name-crt-first.exe -l$lib -O2
                echo $name
                case $arch in
-              *86*) ./$name-regular.exe ; ./$name-crt-first.exe ;;
+              ${{ runner.arch == 'ARM64' && '*' || '*86*' }}) 
./$name-regular.exe ; ./$name-crt-first.exe ;;
                esac
              done
            done

Windows 11 24H2 can no longer run 32-bit ARM programs. I think we shouldn't run 
armv7 tests any more.



--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to