Re: Cirrus CI (Windows help wanted)

2022-08-18 Thread Andres Freund
Hi, On 2022-08-18 20:17:09 -0500, Justin Pryzby wrote: > On Thu, Aug 18, 2022 at 06:09:39PM -0700, Andres Freund wrote: > > > But look: https://cirrus-ci.com/task/4953593575899136 > > > > Why is the build phase so slow in that image? 12min? That's way slower than > > the windows builds normally.

Re: Cirrus CI (Windows help wanted)

2022-08-18 Thread Justin Pryzby
On Thu, Aug 18, 2022 at 06:09:39PM -0700, Andres Freund wrote: > > But look: https://cirrus-ci.com/task/4953593575899136 > > Why is the build phase so slow in that image? 12min? That's way slower than > the windows builds normally. Because I'd just rebased it, and it's using ccache, which I menti

Re: Cirrus CI (Windows help wanted)

2022-08-18 Thread Andres Freund
Hi, On 2022-08-18 19:56:56 -0500, Justin Pryzby wrote: > Note that there's now a cirrusci image with visual studio 2022, which allows > building postgres. I tried it here. In the past there were repeated issues with the cirrus install of visual studio missing some things, and modifying the insta

Re: Cirrus CI (Windows help wanted)

2022-08-18 Thread Justin Pryzby
On Sun, Jul 31, 2022 at 01:31:58PM -0700, Andres Freund wrote: > > But it failed like: > > > > https://cirrus-ci.com/task/5622728425209856?logs=push#L16 > > [00:09:53.675] unauthorized: You don't have the needed permissions to > > perform this operation, and you may have invalid credentials. To

Re: Cirrus CI (Windows help wanted)

2022-07-31 Thread Andres Freund
Hi, On 2022-07-28 19:49:43 -0500, Justin Pryzby wrote: > On Tue, Jan 12, 2021 at 09:04:51AM -0500, Andrew Dunstan wrote: > > On 1/5/21 11:19 PM, Thomas Munro wrote: > > > > > > It seems we can make our own, either on-the-fly with caching, or > > > hosted somewhere, like this: > > > > > > https://c

Re: Cirrus CI (Windows help wanted)

2022-07-28 Thread Justin Pryzby
Hi, On Tue, Jan 12, 2021 at 09:04:51AM -0500, Andrew Dunstan wrote: > On 1/5/21 11:19 PM, Thomas Munro wrote: > > > > It seems we can make our own, either on-the-fly with caching, or > > hosted somewhere, like this: > > > > https://cirrus-ci.org/guide/docker-builder-vm/#dockerfile-as-a-ci-environm

Re: Cirrus CI (Windows help wanted)

2021-01-14 Thread Thomas Munro
On Wed, Jan 13, 2021 at 3:04 AM Andrew Dunstan wrote: > OK, I got this working. Thanks Andrew. This is great! > # cirrus does something odd with this command, so it's stuck in a bat file > # and copied to the docker container and then executed > COPY ci/inst-tools.bat . > RUN \

Re: Cirrus CI (Windows help wanted)

2021-01-12 Thread Andrew Dunstan
On 1/5/21 11:19 PM, Thomas Munro wrote: > > It seems we can make our own, either on-the-fly with caching, or > hosted somewhere, like this: > > https://cirrus-ci.org/guide/docker-builder-vm/#dockerfile-as-a-ci-environment > > OK, I got this working. There is some weirdness that I had to work

Re: Cirrus CI (Windows help wanted)

2021-01-07 Thread Andrew Dunstan
On 1/5/21 5:48 PM, I wrote: > However, sadly the vctools package above isn't installed with all its > optional packages, so some crucial things are missing. I cured that by > forcing a reinstall with the optional components enabled. Sadly, that > takes a huge amount of time, over 20 minutes. We e

Re: Cirrus CI (Windows help wanted)

2021-01-07 Thread Andrew Dunstan
On 1/6/21 12:36 AM, Andrew Dunstan wrote: > On 1/5/21 11:19 PM, Thomas Munro wrote: >> Thanks! I hacked on this a bit more and got as far as: >> >> C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build>call >> perl buildsetup.pl >> Unable to determine Visual Studio version: The nmak

Re: Cirrus CI (Windows help wanted)

2021-01-05 Thread Andrew Dunstan
On 1/5/21 11:19 PM, Thomas Munro wrote: > > Thanks! I hacked on this a bit more and got as far as: > > C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build>call > perl buildsetup.pl > Unable to determine Visual Studio version: The nmake version could not > be determined. at src/too

Re: Cirrus CI (Windows help wanted)

2021-01-05 Thread Thomas Munro
On Wed, Jan 6, 2021 at 11:48 AM Andrew Dunstan wrote: > OK, I have dug into this quite a bit. The way cirrus works is in fact > somewhat fragile. Anyway, here are the highlights: Thanks! > However, sadly the vctools package above isn't installed with all its > optional packages, so some crucial

Re: Cirrus CI (Windows help wanted)

2021-01-05 Thread Andrew Dunstan
On 1/5/21 7:18 AM, Andrew Dunstan wrote: > On 1/4/21 10:58 PM, Thomas Munro wrote: >> Hi, >> >> My new favourite CI is Cirrus CI, because it has 4 operating systems, >> generous enough quotas to handle 250+ branches in a single account, >> and public build/test log URLs. I flipped cfbot.cputube.

Re: Cirrus CI (Windows help wanted)

2021-01-05 Thread Andrew Dunstan
On 1/4/21 10:58 PM, Thomas Munro wrote: > Hi, > > My new favourite CI is Cirrus CI, because it has 4 operating systems, > generous enough quotas to handle 250+ branches in a single account, > and public build/test log URLs. I flipped cfbot.cputube.org (mostly) > over to that and it seems to work

Re: Cirrus CI (Windows help wanted)

2021-01-05 Thread Kyotaro Horiguchi
I happened to get tired by waiting for active perl building repeatedly.. At Tue, 5 Jan 2021 16:58:36 +1300, Thomas Munro wrote in > Hi, > > My new favourite CI is Cirrus CI, because it has 4 operating systems, > generous enough quotas to handle 250+ branches in a single account, > and public b