Commit Graph

194 Commits

Author SHA1 Message Date
Allen Byrne
5d2d389521
Add intel binaries to daily-build/release workflows (#3895) 2023-12-18 07:50:25 -06:00
Allen Byrne
6f2d22d86e
Add variable option syncing for examples (#3885) 2023-12-14 12:50:30 -06:00
dependabot[bot]
184445f4a4
Bump the github-actions group with 4 updates (#3894)
Bumps the github-actions group with 4 updates: [actions/checkout](https://github.com/actions/checkout), [ossf/scorecard-action](https://github.com/ossf/scorecard-action), [github/codeql-action](https://github.com/github/codeql-action) and [actions/setup-python](https://github.com/actions/setup-python).

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-13 14:02:24 -06:00
Diogo Teles Sant'Anna
b7423ffbe5
Feat: Hashpin sensitive dependencies on GitHub Actions and enable Dependabot to update them monthly (#3892)
* feat: hashpin sensitive dependencies on GHAs

Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>

* feat: enable dependabot for monthly updates on GHA

Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>

---------

Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>
2023-12-12 22:17:13 -06:00
Lori Cooper
2a43372328
Updated URL in funding.yml (#3882)
Using new shortened URL, might look better.
2023-12-04 09:20:14 -08:00
Allen Byrne
fc88fcde10
Develop merge examples (#3851)
* Merge examples repo into library

* Change grepTest to be more fault-tolerant

* Update examples macro file

* Exclude all Fortran examples from doxygen
2023-11-27 15:30:15 -06:00
Allen Byrne
ef39882fa1
Change dest for doxygen (#3856)
* Switch doxygen refs to hdf5/develop
2023-11-15 17:32:07 -06:00
Allen Byrne
fe49c075ac
Fixes for CI and presets (#3853) 2023-11-15 17:31:26 -06:00
jhendersonHDF
c779464bfe
Add GitHub actions for testing VOL connectors (#3849)
* Fix issue with HDF5_VOL_ALLOW_EXTERNAL CMake variable

* Add initial API test workflow

* Initialize parallel testing with MPI_THREAD_MULTIPLE when testing API

* Add CMake variable to allow specifying a VOL connector's package name

* Remove call to MPI_Init in serial API tests

While previously necessary, it now interferes with VOL connectors that
may need to be initialized with MPI_THREAD_MULTIPLE
2023-11-15 08:20:50 -06:00
Allen Byrne
66786fa036
Add intel oneapi windows build to CI CMake (#3836) 2023-11-10 07:36:46 -06:00
H. Joe Lee
94a992689e
Update NVHPC version from 23.7 to 23.9. (#3736)
Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
2023-11-02 00:11:23 -05:00
jhendersonHDF
64e239c4b6
Set NVHPC maximum optimization level to -O1 for now (#3800)
* Set NVHPC maximum optimization level to -O1 for now

Compiling HDF5 with NVHPC 23.5 - 23.9 results in test failures in
4 different test files that need to be resolved. Since those tests
pass with an optimization level of -O1 (and -O0) and it is currently
unclear whether the test failures are due to issues in HDF5 or issues
in the 'nvc' compiler, set the maximum optimization level for NVHPC
to -O1 until the test failures are resolved.

* Disable nvhpc Java testing in CMake and amend known issues

* Re-enable testing of Autotools nvhpc
2023-11-01 14:41:46 -05:00
jhendersonHDF
f8ab865ce7
Add processing of NVHPC flags in linux-gnulibc1 file (#3804)
* Disable testing as tests are failing the same as in CMake
2023-11-01 07:13:22 -05:00
H. Joe Lee
e3f060852f
Fix h5py CI failure. (#3805) 2023-10-31 06:04:54 -07:00
jhendersonHDF
119e694f97
Cancel running GitHub workflows on push to same PR (#3772)
* Cancel running GitHub workflows on push to same PR

* Remove github.sha from workflow concurrency groups
2023-10-26 08:49:50 -07:00
jhendersonHDF
cbd5a8d3ce
Cache installation of OpenMPI for AOCC action (#3774) 2023-10-25 14:37:19 -07:00
Allen Byrne
b411852e98
Update fortran action step (#3748) 2023-10-23 13:01:10 -07:00
Allen Byrne
65e1bd8ce9
Add NVidia compiler support and CI (#3686) 2023-10-18 12:44:42 -07:00
H. Joe Lee
1d06e978b6
Add AOCC GitHub Action (#3504) (#3657) 2023-10-14 13:51:59 -07:00
Allen Byrne
283202bc62
Remove old EXTERNALPROJECT_ADD in favor of FETCH_CONTENT (#3624) 2023-10-04 15:51:01 -05:00
Scot Breitenfeld
dece6256bf
Adds link to h5fuse.sh in testpar for autotools (#3557)
* Make the h5fuse.sh utility available to parallel subfiling tests so h5fuse testing is not skipped.
2023-09-22 08:41:57 -05:00
Allen Byrne
c82f9a550b
Convert main.yml CI into callable workflows (#3529) 2023-09-17 21:34:42 -05:00
H. Joe Lee
ffa4bdac0a
Add NVHPC 23.7 GitHub Actions (#3509)
* Add NVHPC 27.3 GitHub Actions

* Address @derobins review
2023-09-14 09:33:02 -07:00
Dana Robinson
6dd9cb199c
Create scorecard.yml (#3508)
Bring in OSSF Scorecard code scanner as a GitHub action
2023-09-05 09:49:26 -07:00
H. Joe Lee
a993bb8f12
Disable SZIP for Intel oneAPI Action (#3449)
* Disable SZIP for Intel oneAPI Action

* Disable Fortran and parallel
2023-08-30 22:21:08 -05:00
Dana Robinson
54d19b0bcb
Add a CVE regression test action (#3445)
*
2023-08-30 07:38:24 -05:00
H. Joe Lee
755dd4ea37
Add Intel oneAPI actions (#2949) (#2977)
* ci: add Intel oneAPI actions (#2949)

* ci: fix CMake installation

* ci: use absolute paths for libtool installation

* ci(oneAPI): update compiler versions and use cron
2023-08-23 14:45:34 -05:00
Allen Byrne
7025c5f109
restore CI tarball name prefix to match bin/release (#3385) 2023-08-16 08:14:21 -05:00
Allen Byrne
891d00d702
Correct CI settings (#3384)
* Correct CI settings

* Correct plugin file name
2023-08-16 07:33:29 -05:00
Larry Knox
0d3617135b
Update files to skip list and ignore_words_list (#3321)
* Update files to skip list and ignore_words_list for codespell to not
check files generated by autotools.  Autotools generate misspellings
that can't be fixed in HDF5 code.
2023-08-02 08:39:56 -05:00
H. Joe Lee
0ff29e7d85
Remove py-pip from h5py action (#3265) 2023-07-27 07:46:53 -07:00
Allen Byrne
f21cd485a7
Disable h5py until fixed properly without spack (#3243) 2023-07-14 11:06:52 -05:00
Allen Byrne
b77d5bacea
Switch CI to use release script (#3242) 2023-07-13 12:17:52 -05:00
Allen Byrne
1d5a22f5d7
merge bbrelease to release (#3232)
* merge bbrelease to release

* Fix pre-req workflow
2023-07-12 15:04:26 -05:00
Allen Byrne
4cf8bb2c62
fix gh action if statements (#3213) 2023-06-30 08:06:25 -05:00
Allen Byrne
ed9791f1ce
Update actions for release option, fix branch for daily build (#3185)
* Update actions for release option, fix branch for daily build

* Scheduled workflows run on latest commit on the develop

* Add snapshots location
2023-06-29 15:40:27 -05:00
Dana Robinson
636b5d073b
Tidy the list of options in main.yml (#3181) 2023-06-26 19:58:59 -07:00
Allen Byrne
ab4d2aec97
Fix the doxygen to gh pages and artifact creation (#3176) 2023-06-26 13:53:10 -05:00
Dana Robinson
c7e9e432c2
Update Linux workflows (#3173)
* Consolidate environment setup
* Turn on ros3 VFD in CMake (Linux only)
2023-06-22 11:43:00 -07:00
Allen Byrne
706c2557a8
Add missing space in zip command (#3167) 2023-06-22 09:43:53 -05:00
Scot Breitenfeld
94ea835bbb
speed-up building HDF5 (#3087)
Disables building the tests when building the netCDF, etc.
2023-06-20 16:58:50 -07:00
Allen Byrne
1f20354ee6
Correct the zip usage (#3153) 2023-06-18 21:56:24 -07:00
Allen Byrne
0f2cb0fd91
Fix the snapshots workflow (#3148)
* Add upload url as artifact
* Change doxygen path and comment log-url upload
* zip doxygen files for upload
* add workspace var
2023-06-16 11:34:24 -07:00
Diogo Teles Sant'Anna
5e8a230619
Define minimal permissions for new GitHub workflows (#3147) 2023-06-16 07:57:14 -07:00
Allen Byrne
281dbf49dc
Fix gh pages so that the doxygen files are uploaded (#3102)
* Add workspace path
* add debug
* Make one job so workspace files are available
* Put doxygen docs under docs folder in gh-pages
2023-06-12 20:43:06 -07:00
Dana Robinson
b9f988ed63
Add Mark Kittisopikul to CODEOWNERS (#3111) 2023-06-12 18:03:21 -07:00
Dana Robinson
087d35a5b7
Build the ros3 VFD in GitHub actions (#3090)
* Build the ros3 VFD in GitHub actions
* Add curl to list of packages to install
* Disable CMake while we figure out the curl path issues
2023-06-10 12:23:11 -07:00
Dana Robinson
95b75de836
Remove template title text ([BUG], etc.) (#3093)
We use labels for this now
2023-06-09 17:48:59 -07:00
H. Joe Lee
74f1a6e5b4
ci: add h5py action (#2986) (#3028) 2023-06-08 08:47:35 -07:00
Allen Byrne
b3d9a06555
Fix paths for doxygen and add step to upload to gh-pages (#3061) 2023-06-07 05:57:13 -07:00
H. Joe Lee
c82ddf3913
ci: add netcdf action (#2934) (#2981) 2023-06-06 12:57:57 -07:00
Allen Byrne
5078cee8d3
Correct path for doxygen files (#3055) 2023-06-06 14:44:08 -05:00
Allen Byrne
2384a73176
Develop gh doxy (#3041)
* Add doxygen generation to daily-build and main

* Add doxygen option to matrix
2023-06-05 16:27:40 -07:00
Dana Robinson
40324e0c31
Cleans up Java JNI warnings and add java to -Werror checks (#2383) 2023-05-27 09:49:37 -07:00
Dana Robinson
25457d369d
Bump GitHub Autotools actions to gcc-12 (#3015) 2023-05-25 14:07:59 -07:00
Dana Robinson
1e52bc27ee
Fix assert in Debug Windows Java JNI (#3012)
Use of an uninitialized H5L_info2_t struct caused some JNI tests to
raise asserts, causing a dialog box to be emitted, which would hang
automated tests.

Initializing the struct fixes the problem.

This change also re-enables tests in the Windows Debug GitHub actions.
2023-05-25 10:47:46 -07:00
Allen Byrne
018ca4e37f
Develop release workflow (#3002)
Implement (pre)release workflow for daily build
2023-05-25 10:24:54 -07:00
Dana Robinson
21c1af2707
Only run ttsafe in thread-safe GitHub actions (#2777)
Also fixes broken thread-safety testing (due to a typo in the GitHub action checks)
2023-05-25 05:27:11 -07:00
Dana Robinson
37e0484af5
Update GitHub macOS actions to v13 (#2999)
* Update macOS to 13

* Fix the DYLD_LIBRARY_PATH issue on macOS 12 & 13 + CMake that caused the accum test to fail
2023-05-24 06:05:17 -07:00
Allen Byrne
8186a8ded0
Fix plugin cache variable name (#2988)
* Fix plugin cache variable name
* Prefix plugin project local variables
2023-05-22 18:04:48 -05:00
Diogo Teles Sant'Anna
14edcfaffd
ci: set minimal permissions on GitHub Workflows (#2980)
Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>
2023-05-18 16:08:10 -05:00
Allen Byrne
dc3ef6055f
Change defaults of standard filters. (#2927) 2023-05-18 16:05:20 -05:00
Allen Byrne
909dcc420d
Update action uses version (#2937) 2023-05-11 08:18:54 -07:00
jhendersonHDF
f8a1b3ceec
Add initial version of HDF5 API tests (#2877) 2023-05-02 12:52:39 -07:00
Allen Byrne
0dceadf245
Use powershell shell to copy files (#2858) 2023-04-30 12:56:11 -07:00
Allen Byrne
2c6316ec57
Add DT workflow for creating daily binaries (#2843) 2023-04-29 12:36:17 -05:00
jhendersonHDF
8562645b8a
Fix hdfeos5 workflow concurrency conflicts (#2804) 2023-04-24 12:42:03 -07:00
jhendersonHDF
584243bc47
Update concurrency group for main CI workflow (#2768)
Updates main CI workflow concurrency group so that the group should be a unique string formed as "workflow file-commit" or "workflow file-PR number". This should only cancel actions for a PR if the same PR is committed to while the actions are running.
2023-04-17 14:02:39 -07:00
jhendersonHDF
41b61bfe53
Update hdfeos5 workflow concurrency group (#2766)
Changes concurrency group for hdfeos5 workflow so that it is separate from the concurrency group for the CI workflow
2023-04-16 18:37:06 -07:00
Dana Robinson
88257af73d
Add Elena to the list of Fortran developers in CODEOWNERS (#2741) 2023-04-14 12:00:03 -07:00
Dana Robinson
526d0d70e6
Update HDF-EOS5 workflow to mirror main.yml (#2710)
Adds paths to ignore, concurrency, etc.
2023-04-13 09:04:51 -07:00
Dana Robinson
d1727fe8f3
Use additional CPUs in GitHub actions (#2695)
* Build: 3 CPUs
* Tests: 2 CPUs

For both Autotools and CMake
2023-04-11 20:58:39 -07:00
H. Joe Lee
3bca79c7aa
ci: add HDF-EOS5 test action (#2415) (#2625) 2023-04-11 14:20:10 -05:00
Dana Robinson
549fbcba86
Add a clang-format comment about permissions (#2577) 2023-03-17 12:56:14 -05:00
Dana Robinson
469a93790e
Rename clang-format fix action (#2550)
The clang-format fix and check actions have the same name. This
also makes some small changes to the action's text fields.
2023-03-14 00:57:38 -07:00
Dana Robinson
19a9b12eea
Add Glenn Song to the CODEOWNERS file (#2551)
Also removes Ray Lu
2023-03-14 00:57:19 -07:00
Scot Breitenfeld
3d8dc012a4
Add concurrency option to cancel in-progress jobs (#2539) 2023-03-13 16:24:15 -05:00
Mark Kittisopikul
5d3d43b1ee
Fix new codespell issues (#2521)
* Fix new codespell issues

* Have codespell ignore ./config/sanitizer/sanitizers.cmake
2023-03-08 14:42:47 -06:00
Allen Byrne
d7128d144b
Add fetchcontent for compression libs and fix cmake config (#2487)
* Add fetchcontent for compression libs and fix cmake config

* MSDOS is a reserved define name

* Add release note and update install doc for FetchContent

* Add CI test for FetchContent

* Use LINK_COMP_LIBS instead of STATIC_LIBRARY for depends

* Use general link
2023-02-26 15:06:14 -08:00
Allen Byrne
bfef9945a8
Develop toolchain lowercase names and updates (#2426)
* lowercase the toolchain filenames

* Change name of option define

* Update CI with changed toolchain name

* Correct Intel compiler names

* Account for Intels name for compiler based on clang

* Make icx default and rename classic to icc
2023-02-17 14:37:26 -08:00
Dana Robinson
6e3b34188e
Add parallel Autotools -Werror checks (#2384)
New actions added to GitHub CI to build parallel HDF5 w/ CFLAGS=-Werror. Since the GitHub runners are so underpowered, we just configure, build, and install but do not run tests. This covers Autotools only, both debug and release.
2023-02-13 11:57:43 -08:00
Dana Robinson
972c8833c6
Drop non-develop branches in main.yml (#2446)
There's no reason to list 1.10, etc. in the list of branches where
this flavor of main.yml applies. Those branches have their own main.yml
files.
2023-02-12 07:15:38 -08:00
Dana Robinson
2e8ea68d97
Update CODEOWNERS given personnel changes (#2453) 2023-02-11 04:50:30 -08:00
Dana Robinson
d61fd4aba7
Add szip/libaec to GitHub CI and fix warnings (#2438)
szip (or libaec) is currently not tested in CI. This adds szip to the
the Autotools GitHub CI actions on Linux when building with the
Autotools.

This PR also cleans up a few warnings that remained in the szip-
related code so the -Werror check will pass.
2023-02-09 05:46:16 -08:00
Dana Robinson
d326f6fae8
Adds 'make install' and 'make check-install' to the CI (Autotools only) (#2381) 2023-01-03 06:17:56 -08:00
Larry Knox
d261272ffa
Restore line 264 of main.yml: "thread_safety:" (#2374) 2022-12-28 10:30:57 -08:00
Dana Robinson
1cf9ecccf5
Fix for Autotools --disable-deprecated-symbols (#2363)
* Fix for Autotools --disable-deprecated-symbols

When we added v116 as a valid option, we left the default as v114 so
using --disable-deprecated-symbols leads configure to complain that you
can't set a default API that was deprecated.

The GitHub action didn't catch this because it explicitly specifies v116

This only affects develop w/ the Autotools when
--disable-deprecated-symbols is requested.

* Added v116 & default to the --with-default-api-version help string

The Autotools --with-default-api-version help string was missing v116.
This has been added, as well as a "default" target so the CI can catch
version problems when we forget to update the defaults upon creating
a new major version.

The GitHub CI also now uses "default" as the target for the deprecated
symbols build.

* Fixes the 1.14 API GitHub CI threadsafe/build_mode

This action still had the bug we fixed where we set the build mode
and threadsafety using an array of size one instead of an object.
2022-12-24 11:36:38 -08:00
Allen Byrne
9f5cf0a457
H5F_LIBVER_LATEST changes for move to 1.15 (#2288)
* H5F_LIBVER_LATEST changes for move to 1.15

* Add new default api check

* Format fixes

* Fix default configure

* fix lib version tests

* Fix another version variable

* Add 1.14 doc link
2022-12-21 10:07:25 -08:00
Dana Robinson
0e76abaf64
Removes duplicated build mode from -Werror GitHub actions (#2314) 2022-12-16 12:05:01 -08:00
Dana Robinson
4bbda3038a
Converts the YAML build mode arrays to objects in special runs (#2308)
* Converts the YAML build mode arrays to objects in special runs

* Adds a dump of the matrix context for each test

This would have made it a LOT easier to debug the build_mode issues...

* Disable the mirror VFD in the -Werror checks

We can re-enable this after we fix the warnings, but I don't want to
conflate code and GitHub changes, so this is a better way to get the
CI to pass for now.
2022-12-15 23:03:02 -08:00
Dana Robinson
1b06e868fd
Fixes broken CI matrix actions involving -Werror and API versions (#2302) 2022-12-14 18:05:15 -06:00
Allen Byrne
b7511c19d0
Update windows worker compilers (#2286)
* Update windows worker compilers

* Update bin and test issues

* Update script and revert java test
2022-12-14 08:58:20 -06:00
Larry Knox
cf232a757f
Develop fix ubuntu 22.04 openmpi install on github (#2268)
* Update install openmpi-bin to also install mpi-default-dev instead of
libopenmpi-dev.  This according to
https://bugs.launchpad.net/ubuntu/+source/openmpi/+bug/1870780.
2022-11-28 13:20:24 -06:00
Larry Knox
eac2cd54e2
Develop ubuntu 20.04 (#2267)
* Use ubuntu-20.04 for github autotools  parallel tests until parallel
configure is fixed on  ubuntu 22.04.

* Remove inactive developers from CODEOWNERS.

* Temporarily cat config.log for autotools build in github actions.

* Try ubuntu-latest.

* Attempt to cat config.log even when configure fails.

* Fix syntax.

* Try again

* Try again

* Try again.

* Back to original temporary fix.

* Install libopenmpi-dev with openmpi-bin, which was installed as a
dependency prior to ubuntu-22.04.
2022-11-23 12:00:00 -08:00
Larry Knox
3e762b07aa
Use ubuntu-20.04 for github autotools parallel tests until parallel (#2264)
* Use ubuntu-20.04 for github autotools  parallel tests until parallel
configure is fixed on  ubuntu 22.04.
2022-11-18 17:30:29 -06:00
Allen Byrne
169896aedb
Remove hard-coded version text (#2260)
* Remove hard-coded version text

* Use macOS 11 until accum test is fixed see #2261
2022-11-16 15:13:46 -06:00
Scot Breitenfeld
a6c1dff09a
running on node-16 insteas of Node.js 12 (#2190) 2022-10-26 09:24:12 -07:00
Scot Breitenfeld
7d1997ff7b
Removed the file, func, line args in the _async APIs fpr doxygen (#2179)
* Removed the: file, func, line args in the _async APIs from the doxygen arguments. Documented H5ESclean.

* format fixes

* fixed DOXYGEN_PREDEFINED

* Fixed the #ifdet logic for doxygen, added missing multi-dataset va_args

* format fixes

* Use H5_DOXYGEN instead of H5_DOXYGEN_FORTRAN

* reordered multidataset declarations

* alt. for H5Aclose_async and H5Acreate_async

* made doxgyen API into seperate blocks

* updated codespell

* Committing clang-format changes

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-10-25 10:41:38 -07:00
Dana Robinson
80f80d61db
Cleans final production mode warnings from H5Shyper.c (#2163)
* H5S__hyper_free_span_info() returns herr_t (not checked)

* Set up H5S__hyper_free_span_info() error handling

* Set up H5S__hyper_free_span() error handling

* Added error handling to H5S_HYPER_ADVANCE_SPAN

* Handled errors in H5S__hyper_iter_get_seq_list_gen()

* Added a production mode build target for -Werror

* Committing clang-format changes

* Updated names for -Werror checks

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-10-14 06:15:33 -07:00
Dana Robinson
ec3737ab69
GitHub workflow cleanup (#2047)
* Cleans up main GitHub workflow(s)

* Combines main.yml and pr-check.yml, which differed trivially
* Reduces config redundancy via proper use of the matrix scheme
* Adds build-only configs for:
    - Version 1.6 default API
    - No deprecated symbols
    - Parallel HDF5
* The -Werror config was converted to build-only
* Makes the naming scheme more uniform
* Spaces out the code and adds comments

* Typo fix

* Fix mirror VFD CMake configure typo

* Debugging hack

* Undo debug hack and fix CMake build mode

* Set CC=mpicc for parallel builds

* Another attempt to fix parallel builds

* Updates comments in main.yml

* Fixes a v16 API bug in the mirror VFD test code

* Committing clang-format changes

* Added checks for v1.8 - 1.12 APIs

* Manually specify Windows configs

Java debug builds time out when running tests on Windows. We'll disable
them in debub mode while we investigate.

* Revert "Manually specify Windows configs"

This reverts commit d710d8d219.

* Skip Debug Windows configs while we investigate Java H5L timeouts

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-22 08:21:27 -07:00