matrix build with only change in an env variable.

Arun's Avatar

Arun

05 Feb, 2018 07:25 PM

Hi,

I want to run two builds with having only change in an environment variable. for example, MY_VAR=ON and MY_VAR=OFF.
How the matrix needs to be updated for this scenario.

  1. 1 Posted by Ilya Finkelshte... on 05 Feb, 2018 07:47 PM

    Ilya Finkelshteyn's Avatar

    Please check this part of documentation: https://www.appveyor.com/docs/build-configuration/#build-matrix

    It should be as simple as

    environment:
      MY_VAR: ON
      MY_VAR: OFF
    

    If this is not what you need, please elaborate with more details.

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:26 AM.

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