forked from sparklemotion/nokogiri
-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
63 lines (50 loc) · 1.65 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
58
59
60
61
62
63
image: Visual Studio 2019
branches:
only:
- main
skip_branch_with_pr: true
clone_depth: 1
cache:
- vendor/bundle
- ports/archives
install:
- SET PATH=C:\ruby%ruby_version%\bin;%PATH%
- ps: |
if ($env:ruby_version -like "*head*") {
$(new-object net.webclient).DownloadFile("https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-head/rubyinstaller-$env:ruby_version.exe", "$pwd/ruby-setup.exe")
cmd /c ruby-setup.exe /verysilent /dir=C:/Ruby$env:ruby_version
}
- ruby --version
- gem --version
- gem install bundler --conservative
- bundle config --local path vendor/bundle
- bundle install
- IF DEFINED INSTALL_PACKAGES ( ridk exec pacman --noconfirm --needed --sync %INSTALL_PACKAGES% )
build: off
test_script:
- bundle exec rake -rdevkit compile test -- %EXTCONF_PARAMS%
environment:
matrix:
- ruby_version: head-x64
- ruby_version: head-x64
INSTALL_PACKAGES: "mingw-w64-x86_64-libxslt"
EXTCONF_PARAMS: "--use-system-libraries"
- ruby_version: 27-x64
- ruby_version: 27-x64
INSTALL_PACKAGES: "mingw-w64-x86_64-libxslt"
EXTCONF_PARAMS: "--use-system-libraries"
- ruby_version: 27
- ruby_version: 27
INSTALL_PACKAGES: "mingw-w64-i686-libxslt"
EXTCONF_PARAMS: "--use-system-libraries"
- ruby_version: 26-x64
- ruby_version: 26-x64
INSTALL_PACKAGES: "mingw-w64-x86_64-libxslt"
EXTCONF_PARAMS: "--use-system-libraries"
- ruby_version: 25-x64
- ruby_version: 25-x64
INSTALL_PACKAGES: "mingw-w64-x86_64-libxslt"
EXTCONF_PARAMS: "--use-system-libraries"
matrix:
allow_failures:
- ruby_version: head-x64