Windows GitHub Action (#231)

* Migrate the Windows Msys2 build from Appveyor to GitHub Actions
* Fix build with newer versions of Msys2 (fix `vasprintf` conflict)
* Enable SQL tests on the Cygwin build on Appveyor
* Fix an error message about Bison not being available when in fact Flex was not available
* Don't fail fast with Mac and Linux GitHub Actions
This commit is contained in:
Evan Miller
2020-12-23 09:34:21 -05:00
committed by GitHub
parent 76c2ada332
commit 2becb08714
4 changed files with 32 additions and 35 deletions

View File

@@ -106,7 +106,7 @@ char *g_strconcat(const char *first, ...) {
return ret;
}
#if defined _WIN32
#if defined _WIN32 && !defined(HAVE_VASPRINTF) && !defined(HAVE_VASNPRINTF)
int vasprintf(char **ret, const char *format, va_list ap) {
int len;
int retval;
@@ -134,7 +134,7 @@ char *g_strdup_printf(const char *format, ...) {
va_list argp;
va_start(argp, format);
#ifdef __CYGWIN__
#ifdef HAVE_VASNPRINTF
size_t len = 0;
ret = vasnprintf(ret, &len, format, argp);
#else