]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
ci: build-windows action slimming (#3858)
authorDaniel Bevenius <redacted>
Thu, 4 Jun 2026 14:27:58 +0000 (16:27 +0200)
committerGitHub <redacted>
Thu, 4 Jun 2026 14:27:58 +0000 (16:27 +0200)
* ci : remove base-devel and git from msys2 job

This commit removes the above packages as they might not be required and
could help reduce the github cache size.

* ci : try reducing the installs to only the compilers

.github/workflows/build-windows.yml

index 9fd910ac0ecce5fd9cd04ee14da278b788c9518a..156a57f74b6f7cbb1f243c19fab775d9d0b814ba 100644 (file)
@@ -38,8 +38,8 @@ jobs:
       fail-fast: false
       matrix:
         include:
-          - { sys: UCRT64,  env: ucrt-x86_64,  build: Release }
-          - { sys: CLANG64, env: clang-x86_64, build: Release }
+          - { sys: UCRT64,  env: ucrt-x86_64,  compiler: gcc,   build: Release }
+          - { sys: CLANG64, env: clang-x86_64, compiler: clang, build: Release }
 
     steps:
       - name: Clone
@@ -51,9 +51,7 @@ jobs:
           update: true
           msystem: ${{matrix.sys}}
           install: >-
-            base-devel
-            git
-            mingw-w64-${{matrix.env}}-toolchain
+            mingw-w64-${{matrix.env}}-${{matrix.compiler}}
             mingw-w64-${{matrix.env}}-cmake
             mingw-w64-${{matrix.env}}-SDL2
             mingw-w64-${{matrix.env}}-openblas