Open NiklasRosenstein opened 6 years ago
Hi, this will be auto resolved by the Ci-Parser script I've developed. This is going to work like in any other CI - the exec/script lines are supposed to be executed in Batch (on Windows) and in Bash/Sh (on Mac, Linux). There you usually put then your own command or call another interpreter.
As in:
build:something:
script:
- ruby coolscript.rb
- echo "helllo"
This is supposed to execute coolscript.rb with ruby interpreter (this has to be in PATH), and then shows hello after finish. Thats how every other CI I know is it doing.
When I would deploy Flux on a Windows machine, I'd still want it to use the Git bash instead of the Windows CMD. Also, some users may want to use Powershell. This option could be added to
flux_config.py
.The shell should also be configurable in the CI configuration file (see #24), which will override this global configuration option. This option would be important for Windows only, I think.