Re: Automatic Cygwin installation for CI ?

2023-12-22 Thread Andrew Schulman via Cygwin
> 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 ?

https://stackoverflow.com/questions/745275/can-i-script-a-cygwin-install-to-include-certain-packages/7366200#7366200


-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Automatic Cygwin installation for CI ?

2023-12-16 Thread Jon Turney via Cygwin

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


--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Automatic Cygwin installation for CI ?

2023-12-15 Thread Thomas Wolff via Cygwin



Am 15.12.2023 um 18:07 schrieb Mainz, Roland via Cygwin:

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 ?



Bye,
Roland
Appveyor CI provides a cygwin environment. You could try to find how 
they do it.


--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Automatic Cygwin installation for CI ?

2023-12-15 Thread Marco Atzeri via Cygwin

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 ?



Bye,
Roland



the source code of the Cygwin build server is here

   https://cygwin.com/cgit/cygwin-apps/scallywag/

It builds cygwin packages and eventually also install them,
It creates the proper development environment installing the
needed package for every instance

log of the outcome are available at

 https://cygwin.com/cgi-bin2/jobs.cgi

Regards
Marco







--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Automatic Cygwin installation for CI ?

2023-12-15 Thread Bill Stewart via Cygwin
On Fri, Dec 15, 2023 at 10:07 AM Mainz, Roland  wrote:

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 ?
>

Have you looked at cygwin.com?

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Automatic Cygwin installation for CI ?

2023-12-15 Thread Mainz, Roland via Cygwin


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 ?



Bye,
Roland


i. A. Roland Mainz
Entwickler Steuerungssoftware
TEE

ROVEMA GmbH

Industriestr. 1, 35463
Fernwald, Germany
 T  +49 641 409 528
 @ roland.ma...@rovema.de
 
www.rovema.com



ROVEMA GmbH
Industriestrasse 1, 35463 Fernwald, Germany
Geschäftsführer:
Christoph Gusenleitner
Dr. Dirk Panhans
Handelsregister-Eintrag/Commercial Register: Amtsgericht Gießen, HRB 8551
USt.-Ident./VAT ID No.: DE 301 430 123



-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple