Multiple configurations under a branch selector
Hi
Im trying to do this:
image: Visual Studio 2017
for:
-
branches:
only:
- master
configuration:
- Release
- Release SuperBuild
platform:
- x86
- x64
-
branches:
only:
- /feature/.*/
configuration:
- Release
platform:
- x64
The YAML validator doesnt like it. Our product has some C# conditional compilation within it (skins). On Master we would like a full build for 2 configs x 2 platforms. On a feature branch we just need a simple Release and x64 build to validate the code and run tests.
Is it possible to supply multiple Configurations and Platforms for a branch selector? Is there any other way of doing this?
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 matt_mckinstry on 02 Feb, 2018 10:26 AM
Seems like it is possible. NotePad++ likes to sneak tabs in on pressing Return
I know Master and Develop are the same below, they will diverge in deployment options, not shown here
for:
-
branches:
only:
- master
configuration:
- Release
- Release SuperBuild
platform:
- x86
- x64
-
branches:
only:
- develop
configuration:
- Release
- Release SuperBuild
platform:
- x86
- x64
-
branches:
only:
- /hotfix/.*/
configuration:
- Release
platform:
- x86
- x64
-
branches:
only:
- /feature/.*/
configuration:
- Release
platform:
- x64
2 Posted by Ilya Finkelshte... on 02 Feb, 2018 06:13 PM
Convert tabs to spaces in Notepad++
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:26 AM.