-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
39 lines (34 loc) · 1.54 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
configuration:
# each 'configuration' is one of the version numbers from https://chocolatey.org/packages/StrawberryPerl
# note that some refuse to install on appveyor's system: 5.12.3.0, 5.12.3.1, 5.16.3.1
# the oldest that I can get to work is 5.14
- 5.26.2.1
- 5.24.4.1
- 5.22.3.1
- 5.20.3.3
- 5.18.4.1
- 5.16.3.20170202
- 5.14.4.1
skip_tags: true
cache:
#- C:\strawberry -> appveyor.yml
# it will try to only reset the cache when appveyor changes
# note: there is only 1GB _total_ cache for each strawberry version is about 0.3GB,
# so it would fill my cache (and failing builds?) after a total of 3 strawberries
# were cached across all my appveyor projects
install:
- if not exist "C:\strawberry" cinst strawberryperl --version %Configuration%
- set PATH=C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;%PATH%
- cpanm --installdeps .
build_script:
- echo build using Configuration=%Configuration%
- perl -le "print qq(build with perl v$])"
## make: but don't want to have to know whether strawberry is using dmake, gmake, or futuremake
- if exist "Makefile.PL" (perl Makefile.PL)
- if exist "Makefile" (perl -MConfig -le "system $Config{make}")
test_script:
- echo test Configuration=%Configuration%
- perl -le "print qq(test with perl v$])"
## make test: but don't want to have to know whether strawberry is using dmake, gmake, or futuremake
- if exist "Makefile" (perl -MConfig -le "system $Config{make}, 'test'")
- prove -lrv t xt