-
Notifications
You must be signed in to change notification settings - Fork 34
/
.appveyor.yml
33 lines (28 loc) · 923 Bytes
/
.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
image: Visual Studio 2019
clone_depth: 1
init:
- SET PATH=C:/Ruby%ruby_version%/bin;%PATH%
install:
- 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 /currentuser /dir=C:/Ruby$env:ruby_version
}
- ruby --version
- gem --version
- ridk version
- ridk enable
- c:/msys64/usr/bin/bash -lc "pacman -S --noconfirm --needed ${MINGW_PACKAGE_PREFIX}-gcc ${MINGW_PACKAGE_PREFIX}-openssl"
- gcc -v
- gem install bundler --conservative
- bundle install
build_script:
- bundle exec rake compile
test_script:
- bundle exec rake ci
environment:
matrix:
- ruby_version: "head-x64"
- ruby_version: "33"
- ruby_version: "30-x64"
- ruby_version: "25"