]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
ci: Extend the msys2 testing to the "clangarm64" environment
authorMartin Storsjö <martin@martin.st>
Tue, 10 Jun 2025 10:31:42 +0000 (13:31 +0300)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 5 Aug 2025 17:38:01 +0000 (19:38 +0200)
The clangarm64 msys environment doesn't have a "gcc" command
by default, unless the "gcc-compat" package is installed.

One may consider using "cc" as well, which is available when
the "toolchain" package is installed in each environment, but
that tool in clang environments fails the "direct" test case.

.github/workflows/build.yaml

index f012c24d8e5fe1b5052ee0cc2b4ccaebfc921bac..cb2c26496882848bf00cfc232d402e1fe416f169 100644 (file)
@@ -167,17 +167,23 @@ jobs:
 
   build_and_test_msys:
     timeout-minutes: 30
-    runs-on: windows-2025
+    runs-on: ${{ matrix.os }}
     strategy:
       fail-fast: false
       matrix:
         include:
           - sys: mingw64
             compiler: gcc
+            os: windows-2025
 
           - sys: mingw64
             compiler: clang
             extra_cmake_params: -DENABLE_TESTING=OFF # clang currently triggers warnings with doctest
+            os: windows-2025
+
+          - sys: clangarm64
+            compiler: clang
+            os: windows-11-arm
 
     name: 'Windows MSYS2 ${{ matrix.sys }} ${{ matrix.compiler }}'
     defaults:
@@ -223,7 +229,7 @@ jobs:
           steps.build-and-test.outputs.exit_status == 8 }}
         env:
           CMAKE_GENERATOR: Ninja
-          TEST_CC: gcc
+          TEST_CC: ${{ matrix.compiler }}
 
       - name: Collect testdir from failed tests
         if: failure()