Re: Mingw task for Cirrus CI

Melih Mutlu <m.melihmutlu@gmail.com>

From: Melih Mutlu <m.melihmutlu@gmail.com>
To: Nazir Bilal Yavuz <byavuz81@gmail.com>
Cc: Andres Freund <andres@anarazel.de>, Justin Pryzby <pryzby@telsasoft.com>, pgsql-hackers@postgresql.org, Andrew Dunstan <andrew@dunslane.net>, Thomas Munro <thomas.munro@gmail.com>
Date: 2022-10-18T21:23:46Z
Lists: pgsql-hackers

Attachments

Hi Bilal,

Nazir Bilal Yavuz <byavuz81@gmail.com>, 18 Eki 2022 Sal, 15:37 tarihinde
şunu yazdı:

> env:
>     ...
>     CHERE_INVOKING: 1
>     BASH_EXE: C:\msys64\usr\bin\bash.exe
>
> 'CHERE_INVOKING: 1' will cause bash.exe to start from current working
> directory(%CIRRUS_WORKING_DIR%).
>
> In this way, there is no need for
> 'cd %CIRRUS_WORKING_DIR%' when using bash.exe,
> also no need for 'BUILD_DIR' environment variable.
>

 Right, setting CHERE_INVOKING and removing all cd's work and look better.
Thanks for the suggestion.

Here's the updated patch.

Best,
Melih

Commits

  1. ci: Add task testing windows with mingw