-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.appveyor.yml
34 lines (27 loc) · 1.39 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
---
os: Visual Studio 2015
platform: x64
install:
- '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64'
- appveyor-retry choco install strawberryperl --allow-empty-checksums
- SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
- appveyor-retry git clone https://github.com/rakudo/rakudo.git %APPVEYOR_BUILD_FOLDER%\..\rakudo
- cd %APPVEYOR_BUILD_FOLDER%\..\rakudo
- perl Configure.pl --gen-moar --gen-nqp
- nmake install
- SET PATH=%APPVEYOR_BUILD_FOLDER%\..\rakudo\install\bin;%PATH%
- SET PATH=%APPVEYOR_BUILD_FOLDER%\..\rakudo\install\share\perl6\site\bin;%PATH%
- cd %APPVEYOR_BUILD_FOLDER%
- git clone https://github.com/ugexe/zef %APPVEYOR_BUILD_FOLDER%\..\zef
- perl6 -I %APPVEYOR_BUILD_FOLDER%\..\zef %APPVEYOR_BUILD_FOLDER%\..\zef\bin\zef --deps-only install .
- git clone https://github.com/libusb/hidapi %APPVEYOR_BUILD_FOLDER%\..\hidapi
- msbuild .\windows\hidapi.sln /p:Configuration=Release /p:Platform=%arch% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
build: off
test_script:
# Test it works loaded as a CURFS
- prove -v -e "perl6 -I." t/
# Test it can install
- perl6 -I %APPVEYOR_BUILD_FOLDER%\..\zef %APPVEYOR_BUILD_FOLDER%\..\zef\bin\zef --/test install .
# Test it works loaded as a CURI
- prove -v -e perl6 t/
shallow_clone: true