Commit Graph

99 Commits

Author SHA1 Message Date
Ward Fisher
acbbde16a1 Syntax error. 2022-01-24 16:10:51 -07:00
Ward Fisher
db98c57af6 HDF5 configuration diagnostic output 2022-01-24 16:09:39 -07:00
Ward Fisher
472e4c8b36 Oh right, Unix Makefiles 2022-01-24 16:02:45 -07:00
Ward Fisher
3058b760ad Force CMake to use gcc 2022-01-24 15:59:10 -07:00
Ward Fisher
7e1c770dff Adding hdf5 info for cmake-based tests. 2022-01-24 15:55:13 -07:00
Ward Fisher
f12eb2d0f9 Moving on to cmake-based github actions. 2022-01-24 15:47:27 -07:00
Ward Fisher
27db0f2354 More tweaks. 2022-01-24 15:21:29 -07:00
Ward Fisher
3c017da5e3 Collapse build and run test steps into a single step, no need to build all the tests before seeing if any fail. 2022-01-24 15:11:58 -07:00
Ward Fisher
3898d4f80a Remove stray text. 2022-01-24 13:18:05 -07:00
Ward Fisher
84070ad177 Next iteration of compilation test. 2022-01-24 13:08:55 -07:00
Ward Fisher
08598a761f Additional compilation work. 2022-01-24 12:20:04 -07:00
Ward Fisher
e8e3141cb1 Really simplify things. 2022-01-24 11:45:46 -07:00
Ward Fisher
0333da7be5 Clean up some Unix-related cruft. 2022-01-24 11:38:21 -07:00
Ward Fisher
ddd675a6d7 Temporarily disable cache 2022-01-24 11:30:14 -07:00
Ward Fisher
d0ad57fb3e Further developments unfolding. 2022-01-24 11:24:45 -07:00
Ward Fisher
d76fbe3fc2 Remove stray text. 2022-01-24 11:06:21 -07:00
Ward Fisher
3a12cee940 Working on MinGW/MSYS2 support. Attempting workflow with system-installed libhdf5 2022-01-24 11:05:33 -07:00
Ward Fisher
a6e7ad17a2 Added cmake to the mingw-based test. 2022-01-24 10:54:00 -07:00
Ward Fisher
4ad9f00493 Add skeleton mingw/msys2 Github CI tests. 2022-01-24 10:51:19 -07:00
Ward Fisher
5f3de855e5
Merge pull request #2194 from WardF/update-hdf5-github-actions.wif
Collapse and update the HDF5 versions being tested on Github Actions.
2022-01-21 10:34:06 -07:00
Ward Fisher
6d5305afd6 Collapse and update the HDF5 versions being tested on Github Actions. 2022-01-21 09:10:45 -07:00
Ward Fisher
2570ac1849 Avoid name collision in macOS tests. 2022-01-21 09:01:40 -07:00
Ward Fisher
c7dc1c25a1 Removed OSX tests from run-on-push, modify so that they run on pull request. 2022-01-20 17:11:22 -07:00
Ward Fisher
286abab31f Refactor triggers on GA runs. 2022-01-20 16:55:18 -07:00
Ward Fisher
2d39cc297e Add a missing space. 2022-01-20 16:53:06 -07:00
Ward Fisher
bbf1433c30 Remove HDF4 2022-01-20 16:38:29 -07:00
Ward Fisher
7a6accad44 More work on the OSX github actions. 2022-01-20 16:25:52 -07:00
Ward Fisher
c01f4adf8e Additional expansion of naming. 2022-01-20 16:13:38 -07:00
Ward Fisher
9a03ef6f20 Cache automake install. 2022-01-20 16:11:32 -07:00
Ward Fisher
0fb73f8545 Move autoconf installation stanza 2022-01-20 16:01:07 -07:00
Ward Fisher
4fdb855a20 More scripting. 2022-01-20 15:57:32 -07:00
Ward Fisher
36edd4ce96 Installing autoconf tools 2022-01-20 15:53:29 -07:00
Ward Fisher
532156f188 Remove more calls to apt. 2022-01-20 15:49:34 -07:00
Ward Fisher
e5c68d087e Removed call to autoreconf 2022-01-20 15:15:49 -07:00
Ward Fisher
7059f28719 Syntax error discovered (I hope) 2022-01-20 15:14:28 -07:00
Ward Fisher
3020729638 Remove ubuntu-specific thing. 2022-01-20 15:05:14 -07:00
Ward Fisher
815483b5b8 Sorting out the reported syntax error. 2022-01-20 15:04:01 -07:00
Ward Fisher
c0f0c7a6a4 More testing. 2022-01-20 15:01:51 -07:00
Ward Fisher
10cc5038d3 Temporarily disable ubuntu tests on PR. 2022-01-20 14:58:38 -07:00
Ward Fisher
65e5fd857c Temporarily disable ubuntu tests on PR. 2022-01-20 14:57:02 -07:00
Ward Fisher
d951322351 Renaming jobs to differentiate between Ubuntu and Linux jobs. 2022-01-20 14:49:50 -07:00
Ward Fisher
4d167366be It was worth a shot. 2022-01-20 14:45:16 -07:00
Ward Fisher
686f51eaac Syntax 2022-01-20 14:43:44 -07:00
Ward Fisher
bb17007350 Syntax 2022-01-20 14:42:55 -07:00
Ward Fisher
a9d792c1af Collapse some redundant definitions in the Ubuntu-based workflow. 2022-01-20 14:41:11 -07:00
Ward Fisher
932a60c005 Renamed some of the job steps. 2022-01-20 14:38:10 -07:00
Ward Fisher
070b8609ee Adding github actions. 2022-01-20 14:27:47 -07:00
Ward Fisher
8d4e0f8362 Renamed the workflow file for running ubuntu-based tests. 2022-01-20 14:12:17 -07:00
Dennis Heimbigner
9380790ea8 Support MSYS2/Mingw platform
re:

The current netcdf-c release has some problems with the mingw platform
on windows. Mostly they are path issues.

Changes to support mingw+msys2:
-------------------------------
* Enable option of looking into the windows registry to find
  the mingw root path. In aid of proper path handling.
* Add mingw+msys as a specific platform in configure.ac and move testing
  of the platform to the front so it is available early.
* Handle mingw X libncpoco (dynamic loader) properly even though
  mingw does not yet support it.
* Handle mingw X plugins properly even though mingw does not yet support it.
* Alias pwd='pwd -W' to better handle paths in shell scripts.
* Plus a number of other minor compile irritations.
* Disallow the use of multiple nc_open's on the same file for windows
  (and mingw) because windows does not seem to handle these properly.
  Not sure why we did not catch this earlier.
* Add mountpoint info to dpathmgr.c to help support mingw.
* Cleanup dpathmgr conversions.

Known problems:
---------------
* I have not been able to get shared libraries to work, so
  plugins/filters must be disabled.
* There is some kind of problem with libcurl that I have not solved,
  so all uses of libcurl (currently DAP+Byterange) must be disabled.

Misc. other fixes:
------------------
* Cleanup the relationship between ENABLE_PLUGINS and various other flags
  in CMakeLists.txt and configure.ac.
* Re-arrange the TESTDIRS order in Makefile.am.
* Add pseudo-breakpoint to nclog.[ch] for debugging.
* Improve the documentation of the path manager code in ncpathmgr.h
* Add better support for relative paths in dpathmgr.c
* Default the mode args to NCfopen to include "b" (binary) for windows.
* Add optional debugging output in various places.
* Make sure that everything builds with plugins disabled.
* Fix numerous (s)printf inconsistencies betweenb the format spec
  and the arguments.
2021-12-23 22:18:56 -07:00
Dennis Heimbigner
73caeb674d Cleanup the CMake inter-test dependencies
The ncdump test set has a number of inter-test dependencies
that are not properly established in ncdump/CMakeLists.txt.

So this PR attempts to:
1. reorder the tests
2. change tests in CMakeLists.txt from build_bin_test_no_prefix to add_bin_test_no_prefix so they get executed

Plus a couple of minor bug fixes.
1. Change ENABLE_NC4 => ENABLE_HDF5 in github action.
2. fix a memory error in findtestserver.c.in
3. fix bug in ncdap_tests/tst_urls.sh
4. fix netcdf file name bug in tst_netcdf4_4.sh
2021-12-20 15:13:08 -07:00