Matrix of platforms and environments

sodabrew's Avatar


01 Oct, 2014 04:15 AM

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
  - platform: x64
    environment: ruby_version=200
... ?

  1. 1 Posted by sodabrew on 01 Oct, 2014 04:21 AM

    sodabrew's Avatar

    Followup question: where is Ruby DevKit installed? I tried both C:\Ruby%ruby_version%\devkitvars.bat and bin\devkitvars.bat no dice.

  2. Support Staff 2 Posted by Feodor Fitsner on 01 Oct, 2014 05:55 PM

    Feodor Fitsner's Avatar

    Yes, you can define a matrix for that, but you have to switch Ruby in PATH by yourself.

    DevKit is inside of appropriate Ruby installation dir, for example C:\Ruby21\DevKit, C:\Ruby193\DevKit, etc.

  3. 3 Posted by sodabrew on 01 Oct, 2014 11:44 PM

    sodabrew's Avatar

    After much trial-and-error, this appears to work:
    ``` yaml
        - platform: x86
          ruby_version: "200"
        - platform: x64
          ruby_version: "200"
        - platform: x64
          ruby_version: "200-x64"

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:48 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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