Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ parsed_files = PARSER_FILES.map do |parser_file|
if parser_file =~ /\.ry\z/ # need racc
racc = Gem.bin_path 'racc', 'racc'
rb_file = parser_file.gsub(/\.ry\z/, ".rb")
ruby "-rubygems #{racc} -l -o #{rb_file} #{parser_file}"
ruby "-rrubygems #{racc} -l -o #{rb_file} #{parser_file}"
elsif parser_file =~ /\.kpeg\z/ # need kpeg
kpeg = Gem.bin_path 'kpeg', 'kpeg'
rb_file = parser_file.gsub(/\.kpeg\z/, ".rb")
ruby "-rubygems #{kpeg} -fsv -o #{rb_file} #{parser_file}"
ruby "-rrubygems #{kpeg} -fsv -o #{rb_file} #{parser_file}"
end
end

Expand Down
30 changes: 22 additions & 8 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,32 @@
---
init:
# To avoid duplicated executables in PATH, see https://github.com/ruby/spec/pull/468
- set PATH=C:\ruby%RUBY_VERSION%\bin;C:\msys64\usr\bin;C:\Program Files\7-Zip;C:\Program Files\AppVeyor\BuildAgent;C:\Program Files\Git\cmd;C:\Windows\system32;C:\Program Files;C:\Windows
# Loads trunk build and updates MSYS2 / MinGW to most recent gcc compiler
- if %ruby_version%==_trunk (
appveyor DownloadFile %APPVEYOR_URL%/api/projects/MSP-Greg/ruby-loco/artifacts/ruby_trunk.7z -FileName C:\ruby_trunk.7z &
7z x C:\ruby_trunk.7z -oC:\ruby_trunk)

install:
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
- gem install bundler --no-document
- bundle install

build: off

test_script:
- rake

on_finish:
- ruby -v

deploy: off

environment:
NOBENCHMARK: 1
matrix:
- ruby_version: "22"
- ruby_version: "22-x64"
- ruby_version: "23"
- ruby_version: "23-x64"
- ruby_version: "24"
- ruby_version: "24-x64"
- ruby_version: 22
- ruby_version: 22-x64
- ruby_version: 23
- ruby_version: 23-x64
- ruby_version: 24
- ruby_version: 24-x64
- ruby_version: _trunk