Commit Graph

14 Commits

Author SHA1 Message Date
Michele Locati
bb83142d47
Make test_script.sh less verbose (configurable) (#424) 2023-10-10 08:18:52 -04:00
Michele Locati
c423097326
Fix invalid byte sequence error when running test_script.sh in some cases (#423)
This fixes the following error that may occur:
argument parsing failed: Invalid byte sequence in conversion input
2023-10-06 17:00:07 -04:00
Evan Miller
57d9e7a65e
Fix iodbc path on macos GH action (#421) 2023-09-10 14:16:02 -04:00
Evan Miller
9aa68a6ba1 Fix macos-iodbc CI build 2023-02-02 05:35:21 -05:00
Evan Miller
f7ae5e3f3c
Require glib2 2.68 or later (for g_memdup2) (#400) 2022-12-17 07:08:44 -05:00
Evan Miller
0b96ecaff1
Fix windows GH action (#399) 2022-12-17 05:33:40 -05:00
Evan Miller
d1369407c5 --disable-iconv configure option 2021-08-22 11:36:31 -04:00
Evan Miller
88ecb2986b GitHub Actions: Enable fail-fast for macOS iODBC builds 2021-04-04 22:13:02 -04:00
Evan Miller
f265cc1e15 Remove GCC 8 from GitHub Actions
This version of GCC has been removed from the default image; see

https://github.com/actions/virtual-environments/issues/2950
2021-04-03 08:30:56 -04:00
Evan Miller
0e3a627ee6
Make command-line arguments locale-aware (#237)
GLib will automatically convert command line options to UTF-8 provided that setlocale(LC_TYPE, "") is called first, and the argument type is STRING (but not FILENAME). Update the CLI tools to take advantage of this behavior, and likewise implement it in fakeglib.

GLib does not automatically convert non-option arguments (i.e. everything remaining in argv after option processing), so manually call g_locale_to_utf8 on these arguments when they represent table names. This should fix the CLI tools when processing non-ASCII table names in non-UTF-8 locales. Also update fakeglib to implement a fast and loose version of g_locale_to_utf8, and factor out some of the code page => iconv name logic in iconv.c so it can be used in our fake g_locale_to_utf8. This adds a new symbol mdb_iconv_name_from_code_page that is not advertised in the main header file. I did not want to include mdbtools.h from fakeglib.c, but maybe that's not important.
2021-01-14 17:34:50 -05:00
Evan Miller
b9531290af GitHub Actions: Pass -e to test scripts
This ensures that the script will exit with an error code if any line of
the script fails
2021-01-13 06:47:25 -05:00
Evan Miller
2becb08714
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
2020-12-23 09:34:21 -05:00
Evan Miller
307cc50dc0 Fix Appveyor builds 2020-12-21 16:02:30 -05:00
Evan Miller
cb0ee059b2
Migrate from Travis CI to GitHub Actions (#229)
* Add GitHub Actions workflow

* Consolidate CI test commands into test_script.sh

* Remove Travis build
2020-12-21 15:42:38 -05:00