Re: Mingw task for Cirrus CI
Melih Mutlu <m.melihmutlu@gmail.com>
From: Melih Mutlu <m.melihmutlu@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: Nazir Bilal Yavuz <byavuz81@gmail.com>,
Justin Pryzby <pryzby@telsasoft.com>, pgsql-hackers@postgresql.org, Andrew Dunstan <andrew@dunslane.net>, Thomas Munro <thomas.munro@gmail.com>
Date: 2022-10-19T14:59:22Z
Lists: pgsql-hackers
Attachments
- v9-0001-Added-Windows-with-MinGW-environment-in-Cirrus-CI.patch (application/octet-stream) patch v9-0001
Hi, Andres Freund <andres@anarazel.de>, 19 Eki 2022 Çar, 06:19 tarihinde şunu yazdı: > It's a bit odd to separate the CCACHE_* variables from each other > (e.g. BUILD_DIR is inbetween them)... > > Perhaps add a comment explaining that otherwise plpython tests fail? > With this src/tools/ci/cores_backtrace.sh shouldn't need to be modified > anymore afaict? > > I'd replace --buildtype debug with -Ddebug=true -Doptimization=g. > Seems like this could use %MTEST_ARGS%? All the things you mentioned above are done. > > + CCACHE_SLOPPINESS: pch_defines,time_macros > > + CCACHE_DEPEND: 1 > > I experimented a bit and it looks like ccache doesn't yet quite work in CI, > but only because the ccache needs to be larger. Looks like we need about > ~400MB. > > A fully cached build is ~2min > Then I should increase CCACHE_MAXSIZE, right? Made it 500MB for MinGW. Sharing the updated version of the patch. Thanks, Melih
Commits
-
ci: Add task testing windows with mingw
- 967db242c2aa 16.0 landed