Building multiple platforms
I have a shell script that I want to run to do my build. I am able to successfully call "sh foo" to run the shell script however I can't quite figure out how to pass configuration/platform matrix values to the script. For example I am doing this:
platform:
- x86
- x64
configuration:
- debug
- release
build_script:
- sh bin/nwb configure $env:platform $env:configuration
But this gives me the error:
sh bin/nwb configure $env:platform $env:configuration
Unknown option: $env:platform
Command exited with code 1
Is this because I am running a shell script or is platform/configuration really not available in the build_script section? Any help would be really appreciated!
Also, fyi, it would be nice if in addition to:
install:
ps: ...
You also supported sh:
install:
sh: ...
Which would run as a shellscript.
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
Support Staff 1 Posted by Feodor Fitsner on 02 Apr, 2015 07:32 PM
Hi Justin,
It should be just:
2 Posted by justin on 03 Apr, 2015 09:36 AM
Thanks that worked :)
justin closed this discussion on 03 Apr, 2015 12:08 PM.