mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
81c2108819
* In explanation of mruby, the expression `build_config.rb` is frequently
used including official documents, so I think that it will not make sense
if the file is no longer used.
* The `MRUBY_TARGET` mechanism seems to have little improvement, so I don't
think it should be changed to avoid unnecessary confusion.
* `MRUBY_TARGET` and `MRuby.targets` represent somewhat different things,
so using the same term "target" is a bit confusing.
The mechanism that can be written short when using a file under
`build_config` (renamed from `target`) directory remains
(`build_config/${MRUBY_CONFIG}.rb` is used if the path specified
in `MRUBY_CONFIG` doesn't exist).
47 lines
1.7 KiB
YAML
47 lines
1.7 KiB
YAML
version: "{build}"
|
|
|
|
shallow_clone: true
|
|
|
|
environment:
|
|
matrix:
|
|
- job_name: Visual Studio 2019 64bit
|
|
visualcpp: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat
|
|
appveyor_build_worker_image: Visual Studio 2019
|
|
|
|
- job_name: Visual Studio 2019 32bit
|
|
visualcpp: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat
|
|
appveyor_build_worker_image: Visual Studio 2019
|
|
|
|
- job_name: Visual Studio 2017 64bit
|
|
visualcpp: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat
|
|
appveyor_build_worker_image: Visual Studio 2017
|
|
|
|
- job_name: Visual Studio 2017 32bit
|
|
visualcpp: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat
|
|
appveyor_build_worker_image: Visual Studio 2017
|
|
|
|
- job_name: Visual Studio 2015 64bit
|
|
visualcpp: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
|
|
appveyor_build_worker_image: Visual Studio 2015
|
|
machine: x86_amd64
|
|
|
|
- job_name: Visual Studio 2015 32bit
|
|
visualcpp: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
|
|
appveyor_build_worker_image: Visual Studio 2015
|
|
machine: x86
|
|
|
|
init:
|
|
- call "%visualcpp%" %machine%
|
|
# For using Rubyins4aller's Ruby 2.6 64bit
|
|
# 2.6 is the highest supported Ruby version across all historical
|
|
# Visual Studio AppVeyor images. Ruby 2.7 is only on the 2019 image.
|
|
- set PATH=C:\Ruby26-x64\bin;%PATH%
|
|
- ruby --version
|
|
|
|
|
|
build_script:
|
|
- set MRUBY_CONFIG=appveyor
|
|
- rake gensym
|
|
- rake -m all
|
|
- rake -E $stdout.sync=true test
|