Automatic Cygwin installation for CI ?

Jon Turney jon.turney@dronecode.org.uk
Sat Dec 16 15:23:06 GMT 2023


On 16/12/2023 02:41, Marco Atzeri via Cygwin wrote:
> On 15/12/2023 18:07, Mainz, Roland via Cygwin wrote:
>>
>> Hi!
>>
>> ----
>>
>> Is there any documentation how Cygwin 3.5.0 can be automatically 
>> (without GUI and user intervention, e.g. via *.bat script) be 
>> installed as part of a CI (Continuous integration) build environment ?
>>
>> ----
[...]
> 
> the source code of the Cygwin build server is here
> 
>     https://cygwin.com/cgit/cygwin-apps/scallywag/

I wouldn't use this as a good example of how to do things, as it's 
rather specialized, and relies on the GitHub cygwin-install-action [1] 
to do the actual installation.


But to answer the question actually asked, no, there is no specific 
documentation on this.

However, there is information on the command line options that setup 
supports (linked to from [2]), and generally using '-q' and '-P 
packagelist' can perform an automated installation.


What do you think more specific documentation could usefully say? 
Patches or suggested words are welcome.


[1] https://github.com/cygwin/cygwin-install-action
[2] https://cygwin.com/install.html#cli



More information about the Cygwin mailing list