-
-
Notifications
You must be signed in to change notification settings - Fork 905
/
appveyor.yml
47 lines (38 loc) · 1.31 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
image: Visual Studio 2022
branches:
only:
- main
skip_branch_with_pr: true
clone_depth: 1
cache:
- vendor/bundle
- ports/archives
install:
- IF DEFINED INSTALL_PACKAGES ( ridk exec pacman --noconfirm --needed --sync %INSTALL_PACKAGES% )
- 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
- git submodule update --init
- bundle config --local path vendor/bundle
- bundle install
build: off
test_script:
- bundle exec rake -rdevkit compile test -- %EXTCONF_PARAMS%
environment:
matrix:
- ruby_version: 33
INSTALL_PACKAGES: "mingw-w64-i686-libyaml"
- ruby_version: 33
INSTALL_PACKAGES: "mingw-w64-i686-libxslt mingw-w64-i686-libyaml"
EXTCONF_PARAMS: "--use-system-libraries"
- ruby_version: 31
INSTALL_PACKAGES: "mingw-w64-i686-libyaml"
- ruby_version: 31
INSTALL_PACKAGES: "mingw-w64-i686-libxslt mingw-w64-i686-libyaml"
EXTCONF_PARAMS: "--use-system-libraries"