Re: Mingw task for Cirrus CI
Nazir Bilal Yavuz <byavuz81@gmail.com>
From: Nazir Bilal Yavuz <byavuz81@gmail.com>
To: Melih Mutlu <m.melihmutlu@gmail.com>, Andres Freund <andres@anarazel.de>
Cc: Justin Pryzby <pryzby@telsasoft.com>, pgsql-hackers@postgresql.org,
Andrew Dunstan <andrew@dunslane.net>, Thomas Munro <thomas.munro@gmail.com>
Date: 2022-10-18T12:37:32Z
Lists: pgsql-hackers
Hi, Thanks for the patch! On 10/18/22 12:49, Melih Mutlu wrote: > > > You can find the updated patch attached. > Does it makes sense to set these at 'Windows - Server 2019, MinGW64 - Meson' task: 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. i.e: configure_script: | %BASH_EXE% -lc "meson setup --buildtype debug -Dcassert=true -Db_pch=true -DTAR=%TAR% build" will work. Regards, Nazir Bilal Yavuz
Commits
-
ci: Add task testing windows with mingw
- 967db242c2aa 16.0 landed