2 # Shamelessly taken from https://github.com/plicease/Dist-Zilla-PluginBundle-Author-Plicease/blob/master/.appveyor.yml
4 clone_folder: c:\projects\fortune-mod
9 image: Visual Studio 2019
11 - choco install strawberryperl
12 - SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
14 - if not exist C:\Perl5 mkdir C:\Perl5
15 - SET PATH=C:\msys64\bin;C:\Perl5\bin;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
16 - SET PERL5LIB=C:/Perl5/lib/perl5
17 - SET PERL_LOCAL_LIB_ROOT=C:/Perl5
18 - SET PERL_MB_OPT=--install_base C:/Perl5
19 - SET PERL_MM_OPT=INSTALL_BASE=C:/Perl5
20 - 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
21 - C:\cygwin64\setup-x86_64.exe -qgnNdO -l C:\cygwin64\var\cache\setup -R c:\cygwin64 -s http://cygwin.mirror.constant.com -P docbook-xml -P docbook-xsl -P libxml2 -P libxslt
24 - set CMAKE_MAKE_PROGRAM=C:\strawberry\c\bin\gmake.exe
25 # Removing for now because it is too much trouble on windows.
26 # - set FCS_TEST_BUILD=1
27 - set CPATH=c:\mingw64\include;c:\msys64\mingw64\include
28 - set LIBRARY_PATH=c:\mingw64\lib;c:\msys64\mingw64\lib
29 - set PATH=%PATH%;c:\mingw64\lib;c:\mingw64\bin;c:\msys64\mingw64\lib;c:\msys64\mingw64\bin
30 # Python3 confuses the recode build so only add it here.
31 - SET PATH=%PATH%;C:\Python35-x64
32 - SET FORTUNE_TEST_DEBUG=1
33 - perl CI-testing/continuous-integration-testing.pl --gen="MSYS Makefiles"