Matrix of platforms and environments
I am testing a compiled RubyGem, and I'd like to set up a matrix of x86 and x64 CPUs with 32-bit and 64-bit Ruby builds. The matrix should be:
platform x86 environment ruby_version=200
platform x64 environment ruby_version=200
platform x64 environment ruby_version=200-x64
Can I do this as simply as
matrix:
- platform: x64
environment: ruby_version=200
... ?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

1 Posted by sodabrew on 01 Oct, 2014 04:21 AM
Followup question: where is Ruby DevKit installed? I tried both C:\Ruby%ruby_version%\devkitvars.bat and bin\devkitvars.bat no dice.
Support Staff 2 Posted by Feodor Fitsner on 01 Oct, 2014 05:55 PM
Yes, you can define a matrix for that, but you have to switch Ruby in
PATHby yourself.DevKit is inside of appropriate Ruby installation dir, for example
C:\Ruby21\DevKit,C:\Ruby193\DevKit, etc.3 Posted by sodabrew on 01 Oct, 2014 11:44 PM
After much trial-and-error, this appears to work:
``` yaml
environment:
matrix:
- platform: x86
ruby_version: "200"
- platform: x64
ruby_version: "200"
- platform: x64
ruby_version: "200-x64"
```
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:48 AM.