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