]> granicus.if.org Git - fortune-mod/blob - .appveyor.yml
add info
[fortune-mod] / .appveyor.yml
1 ---
2 # Shamelessly taken from https://github.com/plicease/Dist-Zilla-PluginBundle-Author-Plicease/blob/master/.appveyor.yml
3 # Thanks!
4 clone_folder: c:\projects\fortune-mod
5 environment:
6     global:
7         MSYSTEM: MINGW64
8         VERBOSE: 1
9 image: Visual Studio 2019
10 install:
11     # Trying to disable to check if it is already installed.
12     # - choco install strawberryperl
13     - cmd: "IF NOT EXIST C:\\strawberry (
14         echo \"strawberryperl is not installed. Please fix appveyor.yml\"
15         exit 1
16         )"
17     - SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
18     - perl -v
19     - IF NOT EXIST C:\Perl5 mkdir C:\Perl5
20     - SET PATH=C:\msys64\bin;C:\Perl5\bin;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
21     - SET PERL5LIB=C:/Perl5/lib/perl5
22     - SET PERL_LOCAL_LIB_ROOT=C:/Perl5
23     - SET PERL_MB_OPT=--install_base C:/Perl5
24     - SET PERL_MM_OPT=INSTALL_BASE=C:/Perl5
25     - 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
26     - 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
27 build: off
28 test_script:
29     - set CMAKE_MAKE_PROGRAM=C:\strawberry\c\bin\gmake.exe
30     # Removing for now because it is too much trouble on windows.
31     # - set FCS_TEST_BUILD=1
32     - set CPATH=c:\mingw64\include;c:\msys64\mingw64\include
33     - set LIBRARY_PATH=c:\mingw64\lib;c:\msys64\mingw64\lib
34     - set PATH=%PATH%;c:\mingw64\lib;c:\mingw64\bin;c:\msys64\mingw64\lib;c:\msys64\mingw64\bin
35     # Python3 confuses the recode build so only add it here.
36     - SET PATH=%PATH%;C:\Python35-x64
37     - SET FORTUNE_TEST_DEBUG=1
38     - SET DOCMAKE_PATH_PREFIX="C:\cygwin64\bin;"
39     - perl CI-testing/continuous-integration-testing.pl --gen="MSYS Makefiles"
40 shallow_clone: true