-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathappveyor.yml
45 lines (32 loc) · 1.45 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
41
42
43
44
45
# v0.033_000
version: 1.0.{build}
pull_requests:
do_not_increment_build_number: false
skip_tags: true
clone_depth: 1
clone_folder: C:\projects\alien-pcre2
environment:
matrix:
- BITS: 32
- BITS: 64
# DEV NOTE, CORRELATION #ap011: hackish code, setting ALIEN_INSTALL_TYPE=share causes Alien::gmake to fail to properly install in system mode with pre-installed C:\strawberry\c\bin\gmake.exe
# share test, compile PCRE2 from source
# - ALIEN_INSTALL_TYPE: share
# NEED FIX, CORRELATION #ap010: chocolatey does not support installation of libpcre2*
# system test, uses PCRE2 from chocolatey
# - ALIEN_INSTALL_TYPE: system
# DEV NOTE: Windows OS, force manual install w/out test of IO::Socket::SSL, about 50% of the time it hangs on the test after "t/sysread_write.t ................. ok"
install:
- cmd: >-
IF %BITS%==64 ( choco install strawberryperl )
IF %BITS%==32 ( choco install strawberryperl --x86 )
set PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;C:\windows\system32;C:\windows;%path%
cpanm -n ExtUtils::MakeMaker Alien::Build::MM Alien::Build::Plugin::Download::GitHub
cpanm --verbose --installdeps .
perl Makefile.PL
gmake test
gmake install
perl -le "use Alien::PCRE2; use Env qw(@PATH); unshift @PATH, Alien::PCRE2->bin_dir(); print `sh pcre2-config --version`, \"\n\"; print `sh pcre2-config --cflags`, \"\n\";"
build: off
test: off
deploy: off