]> granicus.if.org Git - fortune-mod/commitdiff
gh actions #8: win64: try PERL5LIB fix for docmake
authorShlomi Fish <shlomif@shlomifish.org>
Sat, 11 Dec 2021 16:39:58 +0000 (18:39 +0200)
committerShlomi Fish <shlomif@shlomifish.org>
Sat, 11 Dec 2021 16:39:58 +0000 (18:39 +0200)
.appveyor.yml
.github/workflows/windows-x64.yml

index 8db69be54134d5f23841226afd20cd76e67e5cb2..033699462c5f14cf6a14d4316bc316b274ef860c 100644 (file)
@@ -19,18 +19,18 @@ install:
     - perl -v
     - IF NOT EXIST C:\Perl5 mkdir C:\Perl5
     - 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 PERL5LIB=%PERL5LIB%;C:/Perl5/lib/perl5
     - SET PERL_LOCAL_LIB_ROOT=C:/Perl5
     - SET PERL_MB_OPT=--install_base C:/Perl5
     - SET PERL_MM_OPT=INSTALL_BASE=C:/Perl5
-    - cpanm --notest App::Docmake Code::TidyAll::Plugin::ClangFormat Code::TidyAll::Plugin::Flake8 Code::TidyAll::Plugin::TestCount Env::Path File::Find::Object IO::All List::Util Path::Tiny Perl::Critic Perl::Tidy Pod::Coverage::TrustPod String::ShellQuote Test::Code::TidyAll Test::Differences Test::EOL Test::Pod Test::Pod::Coverage Test::RunValgrind Test::TrailingSpace Test::Trap
+    - cpanm --notest App::Docmake Code::TidyAll::Plugin::ClangFormat Code::TidyAll::Plugin::Flake8 Code::TidyAll::Plugin::TestCount Env::Path File::Find::Object List::Util Path::Tiny Perl::Critic Perl::Tidy String::ShellQuote Test::Code::TidyAll Test::Differences Test::RunValgrind Test::TrailingSpace Test::Trap
     - if not exist C:\libtap mkdir C:\libtap
     - copy C:\msys64\mingw64\bin\mingw32-make.exe C:\msys64\mingw64\bin\make.exe
     # - SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
-    - SET PERL5LIB=C:/_P5/lib/perl5
-    - SET PERL_LOCAL_LIB_ROOT=C:/_P5
-    - SET PERL_MB_OPT=--install_base C:/_P5
-    - SET PERL_MM_OPT=INSTALL_BASE=C:/_P5
+    # - SET PERL5LIB=%PERL5LIB%;C:/_P5/lib/perl5
+    - SET PERL_LOCAL_LIB_ROOT=C:/_P5
+    - SET PERL_MB_OPT=--install_base C:/_P5
+    - SET PERL_MM_OPT=INSTALL_BASE=C:/_P5
     - perl -v
     # - if not exist C:\libtap\gperf-3.0.4.tar.gz curl -o C:\libtap\gperf-3.0.4.tar.gz http://ftp.gnu.org/pub/gnu/gperf/gperf-3.0.4.tar.gz
     - curl -o C:\libtap\gperf-3.0.4.tar.gz http://ftp.gnu.org/pub/gnu/gperf/gperf-3.0.4.tar.gz
index 48072f9c2e94ecb4622f4def72d4bf86fb7f5bfa..b475451307009c2f6241f26ba7b940f768ba0757 100644 (file)
@@ -38,8 +38,6 @@ jobs:
 
                     File::Find::Object
 
-                    IO::All
-
                     List::Util
 
                     Path::Tiny
@@ -48,20 +46,12 @@ jobs:
 
                     Perl::Tidy
 
-                    Pod::Coverage::TrustPod
-
                     String::ShellQuote
 
                     Test::Code::TidyAll
 
                     Test::Differences
 
-                    Test::EOL
-
-                    Test::Pod
-
-                    Test::Pod::Coverage
-
                     Test::RunValgrind
 
                     Test::TrailingSpace
@@ -89,7 +79,7 @@ jobs:
 
                 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 PERL5LIB=%PERL5LIB%;C:/Perl5/lib/perl5
 
                 SET PERL_LOCAL_LIB_ROOT=C:/Perl5
 
@@ -103,14 +93,6 @@ jobs:
                 copy C:\msys64\mingw64\bin\mingw32-make.exe C:\msys64\mingw64\bin\make.exe
                 || ( echo Failed & exit /B 1 )
 
-                SET PERL5LIB=C:/_P5/lib/perl5
-
-                SET PERL_LOCAL_LIB_ROOT=C:/_P5
-
-                SET PERL_MB_OPT=--install_base C:/_P5
-
-                SET PERL_MM_OPT=INSTALL_BASE=C:/_P5
-
                 perl -v || ( echo Failed & exit /B 1 )
 
                 curl -o C:\libtap\gperf-3.0.4.tar.gz http://ftp.gnu.org/pub/gnu/gperf/gperf-3.0.4.tar.gz