[libxml2] gitlab-ci: Only install MinGW autotools if needed



commit 861466bf4e8dea285c644f859fd9facb03de78f7
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Tue Sep 6 20:32:08 2022 +0200

    gitlab-ci: Only install MinGW autotools if needed

 .gitlab-ci.yml            | 2 +-
 .gitlab-ci/setup_mingw.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 901619be..5aa0b014 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -61,7 +61,7 @@ clang:asan:
   before_script:
     - "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12"
     - $Env:Path="C:\msys64\$Env:MINGW_PATH\bin;C:\msys64\usr\bin;$Env:Path"
-    - bash -lc 'sh .gitlab-ci/setup_mingw.sh'
+    - bash -lc 'sh .gitlab-ci/setup_mingw.sh autotools'
     - .gitlab-ci/Install-7-Zip
     - .gitlab-ci/Fetch-W3C-Tests
   script:
diff --git a/.gitlab-ci/setup_mingw.sh b/.gitlab-ci/setup_mingw.sh
index 74bb4a3a..9bfc935e 100644
--- a/.gitlab-ci/setup_mingw.sh
+++ b/.gitlab-ci/setup_mingw.sh
@@ -6,6 +6,6 @@ prefix=
 if [ -n "$MINGW_PACKAGE_PREFIX" ]; then
     prefix="${MINGW_PACKAGE_PREFIX}-"
 fi
-for module in autotools libiconv python xz zlib "$@"; do
+for module in libiconv python xz zlib "$@"; do
     pacman --noconfirm -S --needed ${prefix}$module
 done


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]