]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
CI: Fix windows-ci dependency installation.
authorJia Tan <jiat0218@gmail.com>
Fri, 28 Jul 2023 13:56:48 +0000 (21:56 +0800)
committerJia Tan <jiat0218@gmail.com>
Fri, 28 Jul 2023 13:56:48 +0000 (21:56 +0800)
All of the MSYS2 environments need make, and it does not come with the
toolchain package. The toolchain package will install the needed
compiler toolchains since without this package CMake cannot properly
generate the Makefiles.

.github/workflows/windows-ci.yml

index f5c58bac5b86787327177fbb9d0d3b3c156f818d..fe62b11b5d69be07aa0f608dae42e8afdb908149 100644 (file)
@@ -42,7 +42,7 @@ jobs:
         with:
           msystem: ${{ matrix.msys2_env }}
           update: true
-          install: pactoys
+          install: pactoys make
 
       - name: Checkout code
         # Need to explicitly set the shell here since we set the default
@@ -71,7 +71,7 @@ jobs:
 
       - name: Install Dependencies
         if: ${{ matrix.msys2_env != 'msys' && matrix.build_system == 'autotools' }}
-        run: pacboy --noconfirm -S --needed autotools:p gcc:p clang:p make:p doxygen:p
+        run: pacboy --noconfirm -S --needed autotools:p toolchain:p doxygen:p
 
       - name: Install Dependencies
         if: ${{ matrix.msys2_env == 'msys' && matrix.build_system == 'cmake' }}
@@ -79,7 +79,7 @@ jobs:
 
       - name: Install Dependencies
         if: ${{ matrix.msys2_env != 'msys' && matrix.build_system == 'cmake' }}
-        run: pacboy --noconfirm -S --needed cmake:p gcc:p clang:p make:p
+        run: pacboy --noconfirm -S --needed cmake:p toolchain:p
 
       ##################
       # Build and Test #