The type of build depends on the call to the Makefile:
https://github.com/OoliteProject/oolite ... r/Makefile
As noted at
https://github.com/OoliteProject/oolite ... kefile#L81 there are four different development targets, and at
https://github.com/OoliteProject/oolite ... efile#L105 we can see the three different installer targets, one for each of the three different release builds.
The call to msys.cmd kickstarts the particular msys build environment that we have in the
https://github.com/OoliteProject/oolite ... -build-env repository on GitHub Actions.
The build command is actually located in the profile file at
https://github.com/OoliteProject/oolite ... rofile#L76 and as such is automatically invoked when msys is started. As you can see, we currently build
pkg-win
, which makes a test release installer.
To change this you'd want to either work out how to pass a command into that environment so that you could have the build type as an argument (I have no idea how that would work), or to change the
profile
file.
My recommendation would be to use
sed
or similar to edit the profile file in a step after the
Checkout DevelopmentEnvironment
step but before the
Compile
step.
As the different build type is essentially just a different argument to the Makefile I'd also recommend the use of a matrix strategy when building (both in Windows and in Linux, as I can see that you're working on at the moment) and you'd more or less get it for free. I've done this with my own build experiments - feel free to use that for inspiration and give me a shout if you have any questions - I'm happy to help!