-
Notifications
You must be signed in to change notification settings - Fork 34
/
appveyor.yml
73 lines (46 loc) · 2.25 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# NEED UPDATE, CORRELATION #rp038: all changes made to this file MUST be propagated to the corresponding appveyor.yml files for all other RPerl Family software suites
# v0.021_000
version: 1.0.{build}
pull_requests:
do_not_increment_build_number: false
skip_tags: true
clone_depth: 1
clone_folder: C:\projects\rperl
environment:
APPVEYOR_RDP_PASSWORD: rperl1*
init:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
on_finish:
- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
# This file replaces & expands upon the original AppVeyor test command sequence:
# AppVeyor.com -> rperl -> Settings -> Test -> Script -> CMD
# choco install strawberryperl --forceX86 && set PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;C:\windows\system32;C:\windows; && gcc -v && g++ -v && perl -V && dmake -V || perl Makefile.PL && perl -e"require CPAN;CPAN::Shell->notest('install','App::cpanminus');" && cpanm -n -v --installdeps . && set RPERL_DEBUG=1 && set RPERL_VERBOSE=1 && dmake test
# DEV NOTE: do not test IO::Socket::SSL, about 50% of the time it hangs on the test after "t/sysread_write.t ................. ok"
# DEV NOTE: do not test any CPAN dependencies, causes test time to exceed 1 hours AppVeyor maximum
install:
- cmd: >-
choco install astyle
astyle --version
choco install curl
curl -V
curl -o perl.msi http://strawberryperl.com/download/5.24.0.1/strawberry-perl-5.24.0.1-32bit.msi
msiexec /i perl.msi /quiet /qn /norestart
set PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;C:\windows\system32;C:\windows;%path%
gcc -v
g++ -v
perl -V
perl Makefile.PL
perl -e"require CPAN;CPAN::Shell->notest('install','App::cpanminus');"
cpanm --verbose --notest IO::Socket::SSL
cpanm --verbose --notest Alien::GSL
cpanm --verbose --notest git://github.com/wbraswell/math--gsl.git
cpanm --verbose --notest --installdeps .
set RPERL_DEBUG=0
set RPERL_VERBOSE=0
set PERL5LIB=blib/lib
set
perl -le "print for @INC"
dmake test
build: off
test: off
deploy: off