public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Automatic Cygwin installation for CI ?
       [not found] ` <a0f1e420-ae48-49a3-9300-c56f1948ad9b.e52b7f5f-5a09-4346-99f8-a6591191169c.175339fc-a13d-434f-9e0a-775c9a48b07e@emailsignatures365.codetwo.com>
@ 2023-12-15 17:07   ` Mainz, Roland
  2023-12-15 21:02     ` Bill Stewart
                       ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Mainz, Roland @ 2023-12-15 17:07 UTC (permalink / raw)
  To: 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.Mainz@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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Automatic Cygwin installation for CI ?
  2023-12-15 17:07   ` Automatic Cygwin installation for CI ? Mainz, Roland
@ 2023-12-15 21:02     ` Bill Stewart
  2023-12-16  2:41     ` Marco Atzeri
                       ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Bill Stewart @ 2023-12-15 21:02 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 302 bytes --]

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?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Automatic Cygwin installation for CI ?
  2023-12-15 17:07   ` Automatic Cygwin installation for CI ? Mainz, Roland
  2023-12-15 21:02     ` Bill Stewart
@ 2023-12-16  2:41     ` Marco Atzeri
  2023-12-16 15:23       ` Jon Turney
  2023-12-16  5:47     ` Thomas Wolff
  2023-12-22 13:39     ` Andrew Schulman
  3 siblings, 1 reply; 6+ messages in thread
From: Marco Atzeri @ 2023-12-16  2:41 UTC (permalink / raw)
  To: 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







^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Automatic Cygwin installation for CI ?
  2023-12-15 17:07   ` Automatic Cygwin installation for CI ? Mainz, Roland
  2023-12-15 21:02     ` Bill Stewart
  2023-12-16  2:41     ` Marco Atzeri
@ 2023-12-16  5:47     ` Thomas Wolff
  2023-12-22 13:39     ` Andrew Schulman
  3 siblings, 0 replies; 6+ messages in thread
From: Thomas Wolff @ 2023-12-16  5:47 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 383 bytes --]


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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Automatic Cygwin installation for CI ?
  2023-12-16  2:41     ` Marco Atzeri
@ 2023-12-16 15:23       ` Jon Turney
  0 siblings, 0 replies; 6+ messages in thread
From: Jon Turney @ 2023-12-16 15:23 UTC (permalink / raw)
  To: Mainz, Roland; +Cc: 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Automatic Cygwin installation for CI ?
  2023-12-15 17:07   ` Automatic Cygwin installation for CI ? Mainz, Roland
                       ` (2 preceding siblings ...)
  2023-12-16  5:47     ` Thomas Wolff
@ 2023-12-22 13:39     ` Andrew Schulman
  3 siblings, 0 replies; 6+ messages in thread
From: Andrew Schulman @ 2023-12-22 13:39 UTC (permalink / raw)
  To: 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-12-22 13:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <a0f1e420-ae48-49a3-9300-c56f1948ad9b.8d485f54-9f47-42b0-bdcb-9635fbf663c3.eaa1a0df-8af8-431a-ac90-701e9d34fff3@emailsignatures365.codetwo.com>
     [not found] ` <a0f1e420-ae48-49a3-9300-c56f1948ad9b.e52b7f5f-5a09-4346-99f8-a6591191169c.175339fc-a13d-434f-9e0a-775c9a48b07e@emailsignatures365.codetwo.com>
2023-12-15 17:07   ` Automatic Cygwin installation for CI ? Mainz, Roland
2023-12-15 21:02     ` Bill Stewart
2023-12-16  2:41     ` Marco Atzeri
2023-12-16 15:23       ` Jon Turney
2023-12-16  5:47     ` Thomas Wolff
2023-12-22 13:39     ` Andrew Schulman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).