-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
39 lines (27 loc) · 1.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
environment:
matrix:
- strawberry_version: 5.30.0.1
make_name: gmake
- strawberry_version: 5.28.2.1
make_name: gmake
- strawberry_version: 5.26.3.1
make_name: gmake
- strawberry_version: 5.20.3.3
make_name: dmake
install:
- choco install --allowemptychecksum strawberryperl --version %strawberry_version%
- path C:\strawberry\perl\bin;C:\strawberry\perl\sidirte\bin;C:\strawberry\c\bin;%PATH%
- perl -V
# See https://social.technet.microsoft.com/Forums/sqlserver/en-US/23fccc30-5f84-4a84-8160-c6e95102b11c/powershell-invokewebrequest-sourceforge-urlsredirectiondynamic-content
- ps: Invoke-WebRequest https://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.21/libusb-1.0.21.7z/download -OutFile libusb-1.0.7z -UserAgent [Microsoft.PowerShell.Commands.PSUserAgent]::FireFox
- dir
- 7z x libusb-1.0.7z -olibusb-1.0
- dir
- set USB_LIBUSB_INCLUDE=-Ilibusb-1.0\include\libusb-1.0
- set USB_LIBUSB_LIB=-llibusb-1.0\MinGW64\dll\libusb-1.0.dll.a
- path libusb-1.0\MinGW64\dll;%PATH%
build_script:
- perl Makefile.PL
- cpanm --installdeps .
- '%make_name%'
- prove -bv t