mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
appveyor.yml: reduce matrix factors
* appveyor.yml (environment): separate matrix factors by `build` (`vs` or `msys2`), and `build` (and `vs` version if VS build). now `MSYS2_ARCH` and `MSYSTEM` are derived from `Platform` if msys2 build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b120f5e38d
commit
2cbf44e55b
1 changed files with 9 additions and 8 deletions
17
appveyor.yml
17
appveyor.yml
|
@ -7,9 +7,9 @@ environment:
|
||||||
ruby_version: "24-%Platform%"
|
ruby_version: "24-%Platform%"
|
||||||
zlib_version: "1.2.11"
|
zlib_version: "1.2.11"
|
||||||
matrix:
|
matrix:
|
||||||
- vs: "120"
|
- build: vs
|
||||||
- MSYS2_ARCH: x86_64
|
vs: 120
|
||||||
MSYSTEM: MINGW64
|
- build: msys2
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
notifications:
|
notifications:
|
||||||
|
@ -46,7 +46,7 @@ for:
|
||||||
-
|
-
|
||||||
matrix:
|
matrix:
|
||||||
only:
|
only:
|
||||||
- vs: "120"
|
- build: vs
|
||||||
install:
|
install:
|
||||||
- ver
|
- ver
|
||||||
- chcp
|
- chcp
|
||||||
|
@ -95,15 +95,16 @@ for:
|
||||||
-
|
-
|
||||||
matrix:
|
matrix:
|
||||||
only:
|
only:
|
||||||
- MSYS2_ARCH: x86_64
|
- build: msys2
|
||||||
MSYSTEM: MINGW64
|
|
||||||
install:
|
install:
|
||||||
- ver
|
- ver
|
||||||
- chcp
|
- chcp
|
||||||
- set /a JOBS=%NUMBER_OF_PROCESSORS%
|
- set /a JOBS=%NUMBER_OF_PROCESSORS%
|
||||||
- set MSYS_NO_PATHCONV=1
|
- set MSYS_NO_PATHCONV=1
|
||||||
- SET BITS=%Platform:x86=32%
|
- SET MSYSTEM=%Platform:x86=32%
|
||||||
- SET BITS=%BITS:x=%
|
- SET MSYSTEM=%MSYSTEM:x=MINGW%
|
||||||
|
- SET MSYS2_ARCH=%Platform:x86=i686%
|
||||||
|
- SET MSYS2_ARCH=%MSYS2_ARCH:x64=x86_64%
|
||||||
- SET ruby_path=C:\Ruby%ruby_version:-x86=%
|
- SET ruby_path=C:\Ruby%ruby_version:-x86=%
|
||||||
- SET PATH=\usr\local\bin;%ruby_path%\bin;%PATH%;C:\msys64\%MSYSTEM%\bin;C:\msys64\usr\bin
|
- SET PATH=\usr\local\bin;%ruby_path%\bin;%PATH%;C:\msys64\%MSYSTEM%\bin;C:\msys64\usr\bin
|
||||||
- ruby --version
|
- ruby --version
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue