-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathappveyor.yml
31 lines (29 loc) · 1020 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
image: Visual Studio 2022
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 /currentuser /verysilent /dir=C:/Ruby$env:ruby_version
}
- ruby --version
- gem --version
- ridk version
- ridk enable
# Install required packages
- c:/msys64/usr/bin/bash -lc "pacman -S --noconfirm --needed ${MINGW_PACKAGE_PREFIX}-pkgconf ${MINGW_PACKAGE_PREFIX}-fox ${MINGW_PACKAGE_PREFIX}-swig ${MINGW_PACKAGE_PREFIX}-gcc"
- gcc -v
- swig -version
- gem install bundler --conservative
- bundle config set force_ruby_platform true
- bundle install
build_script:
- bundle exec rake compile
test_script:
- bundle exec rake test
environment:
matrix:
- ruby_version: "head-x64"
- ruby_version: "27"