-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.appveyor.yml
50 lines (36 loc) · 1.61 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
os: Visual Studio 2017
platform: x64
environment:
GITHUB_ACCESS_TOKEN:
secure: EPqbi0m6WbH/4m84G1mHPyrNx4WEygFTQ6xODgdtaWJC1Js62Owlmww0fmexoVEp
install:
# Enable x64 Native Tools
- '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"'
# Workaround for path length errors during precompilation of longer repo names
- SET TMPDIR=C:\tmp
- cd C:\
- md tmp
# Install Perl
- 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
# Install Rakudo
- cd %APPVEYOR_BUILD_FOLDER%\..\rakudo
- perl Configure.pl --gen-moar --gen-nqp --backends=moar
- nmake install
- SET PATH=%APPVEYOR_BUILD_FOLDER%\..\rakudo\install\bin;%PATH%
- SET PATH=%APPVEYOR_BUILD_FOLDER%\..\rakudo\install\share\perl6\site\bin;%PATH%
# Install dependencies
- cd %APPVEYOR_BUILD_FOLDER%
- git clone https://github.com/ugexe/zef %APPVEYOR_BUILD_FOLDER%\..\zef
- raku -I %APPVEYOR_BUILD_FOLDER%\..\zef %APPVEYOR_BUILD_FOLDER%\..\zef\bin\zef --deps-only install .
- cd %APPVEYOR_BUILD_FOLDER%
build: off
test_script:
# Test it works loaded as a CURFS
- prove --ext .rakutest -v -e "raku -I." t/ xt/
# Test it can install
- raku -I %APPVEYOR_BUILD_FOLDER%\..\zef %APPVEYOR_BUILD_FOLDER%\..\zef\bin\zef --/test install .
# Test it works loaded as a CURI
- prove --ext .rakutest -v -e raku t/ xt/
shallow_clone: true