/
appveyor.yml
57 lines (45 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# See also
# https://www.appveyor.com/docs/build-configuration/
# https://www.gtk.org/docs/installations/windows
# https://www.archlinux.org/pacman/pacman.8.html
os: Visual Studio 2019
#version: 0.17.2.0
image:
- Visual Studio 2019
platform: x64
branches:
# whitelist
only:
# - master
# - module
- develop
environment:
raku_test_all: 1
install:
- set PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
# install raku from git
- cd C:\
- git clone https://github.com/rakudo/rakudo.git
- cd rakudo
- perl Configure.pl --gen-moar --gen-nqp --backends=moar
- gmake install
- set PATH=C:\rakudo\install\bin;C:\rakudo\install\share\perl6\site\bin;%PATH%
- cmd: dir C:\rakudo\install\bin
# install zef from git
- cd C:\
- git clone https://github.com/ugexe/zef.git
- cd zef
- cmd: rakudo.exe -I. bin/zef install .
- cmd: dir C:\rakudo\install\share\perl6\site\bin
# set path to use MSYS2 tools like pacman
- cd C:\
- set PATH=C:\msys64\usr\bin;C:\msys64\usr\lib;%PATH%
- bash -lc "pacman -S --noconfirm mingw-w64-x86_64-gtk3"
- refreshenv
build: off
test_script:
# set path to use Raku, Zef and GTK libraries
- set PATH=C:\rakudo\install\bin;C:\rakudo\install\share\perl6\site\bin;C:\msys64\mingw64\bin;%PATH%
- cd %APPVEYOR_BUILD_FOLDER%
- cmd: zef --/test --deps-only install .
- cmd: zef --verbose install .