Re: Mingw task for Cirrus CI - Mailing list pgsql-hackers

From Melih Mutlu
Subject Re: Mingw task for Cirrus CI
Date
Msg-id CAGPVpCT0EyMsOuRLyCBV8Y9ta-wi9PXxVQ7Uw4uQKSOAVcvUpA@mail.gmail.com
Whole thread Raw
In response to Re: Mingw task for Cirrus CI  (Nazir Bilal Yavuz <byavuz81@gmail.com>)
List pgsql-hackers
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
Attachment

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Atomic rename feature for Windows.
Next
From: Robert Haas
Date:
Subject: Re: Checking for missing heap/index files