]> granicus.if.org Git - fortune-mod/commitdiff
gh actions #4: try msys2 fix
authorShlomi Fish <shlomif@shlomifish.org>
Sat, 11 Dec 2021 15:37:36 +0000 (17:37 +0200)
committerShlomi Fish <shlomif@shlomifish.org>
Sat, 11 Dec 2021 15:37:36 +0000 (17:37 +0200)
.appveyor.yml
.github/workflows/windows-x64.yml

index 9477bcc2429997c6883bbe1ec8f0decbd4a7a8c2..a0e45f015cb1439fe970eaf5b84b752f599945e6 100644 (file)
@@ -14,10 +14,11 @@ install:
         echo \"strawberryperl is not installed. Please fix appveyor.yml\"
         exit 1
         )"
+    - c:\msys64\usr\bin\bash -lc "pacman --noconfirm -Syuu"
     - SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
     - perl -v
     - IF NOT EXIST C:\Perl5 mkdir C:\Perl5
-    - SET PATH=C:\msys64\bin;C:\Perl5\bin;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
+    - SET PATH=C:\msys64\mingw64\bin;C:\msys64\bin;C:\Perl5\bin;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
     - SET PERL5LIB=C:/Perl5/lib/perl5
     - SET PERL_LOCAL_LIB_ROOT=C:/Perl5
     - SET PERL_MB_OPT=--install_base C:/Perl5
index 46b9856ea5f32d5b50800c3ab69472310600d0c2..4c4165287545c3f55bdad6ce3cf06ebcb0c65eb5 100644 (file)
@@ -78,6 +78,9 @@ jobs:
                 IF NOT EXIST C:\strawberry ( echo "strawberryperl is not installed.
                 Please fix appveyor.yml" exit 1 ) || ( echo Failed & exit /B 1 )
 
+                c:\msys64\usr\bin\bash -lc "pacman --noconfirm -Syuu" || ( echo Failed
+                & exit /B 1 )
+
                 SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
 
                 perl -v || ( echo Failed & exit /B 1 )
@@ -85,7 +88,7 @@ jobs:
                 IF NOT EXIST C:\Perl5 mkdir C:\Perl5 || ( echo Failed & exit /B 1
                 )
 
-                SET PATH=C:\msys64\bin;C:\Perl5\bin;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
+                SET PATH=C:\msys64\mingw64\bin;C:\msys64\bin;C:\Perl5\bin;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
 
                 SET PERL5LIB=C:/Perl5/lib/perl5