Re: Mingw task for Cirrus CI

Justin Pryzby <pryzby@telsasoft.com>

From: Justin Pryzby <pryzby@telsasoft.com>
To: Andres Freund <andres@anarazel.de>
Cc: Melih Mutlu <m.melihmutlu@gmail.com>, pgsql-hackers@postgresql.org, Andrew Dunstan <andrew@dunslane.net>, Thomas Munro <thomas.munro@gmail.com>
Date: 2022-09-10T20:19:44Z
Lists: pgsql-hackers
On Mon, Sep 05, 2022 at 04:52:17PM -0700, Andres Freund wrote:
> I don't think you should need to use --host, that indicates cross compiling,

This made me consider the idea of cross-compiling for windows under a
new linux task, and then running tests under Windows with a dependent
task.  I suppose that use -Og, in addition to CompilerWarnings, which
uses -O2.

cirrusci caches are (or can be) shared between tasks.  I got this mostly
working, with a few kludges to compile and install stuff under src/test.
This may be yet another idea that's obsoleted by meson.  WDYT?

-- 
Justin



Commits

  1. ci: Add task testing windows with mingw