37 Commits
Author SHA1 Message Date
f9ba955fb3 Harden Maven/Java workflows against zizmor findings (#6546)
Address all zizmor 1.25.2 findings in the Maven/Java-themed workflows
with no behavioral change:

- template-injection: move attacker-controllable ${{ }} expressions
  (matrix.*, runner.workspace, github.actor, github.base_ref,
  steps.*.outputs.*, needs.*.outputs.*) out of run: script bodies into
  step-level env: blocks referenced as shell/pwsh variables.
- artipacked: add persist-credentials: false to all actions/checkout
  steps (none of these workflows push to git).
- excessive-permissions: add/tighten explicit permissions. Reduce
  overly broad workflow-level packages:/pull-requests: grants to
  contents: read, granting minimal packages: read/write only to the
  specific jobs that need it.
- secrets-inherit (release.yml): remove secrets: inherit on the
  test-maven-packages.yml call, which declares no workflow_call secrets.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
2026-08-04 16:42:12 -04:00
Scot Breitenfeld aa9df72cc2 Add Fortran ABI check and auto-detect the release baseline (#6550)
* Add Fortran ABI compatibility check to abi-report workflow

Mirrors the existing C/HL/C++ abi-dumper + abi-compliance-checker
steps for libhdf5_fortran.so, plus a supplementary nm-based exported
symbol diff since gfortran's mangled names don't encode argument
lists and DWARF-based diffing has not been validated against
Fortran-specific constructs (array descriptors, derived types).

* Auto-detect ABI reference release instead of hardcoding it

file_ref was pinned to '2.0.0' in both daily-build.yml and release.yml
and had gone stale across two releases (2.1.0, 2.1.1) without being
bumped, silently comparing against a two-versions-old baseline. Have
abi-report.yml query the GitHub API for the latest published
HDFGroup/hdf5 release when file_ref isn't explicitly given, so callers
no longer need to remember to update a pinned tag after every release.
Verified the resolution command returns 2.1.1 against the live API.

Also documents the expected false-positive pattern in the new Fortran
ABI check: abi-dumper misreads gfortran's DWARF encoding of
assumed-shape array descriptors as fixed array bounds, producing bulk
Low-severity noise on the KIND/RANK-generated H5_gen.F90 procedures
that isn't a real interface change.
2026-07-27 08:28:18 -05:00
Larry Knox 519bcf787e Update workflow versions (#6202)
* Update versions in workflow files for HDF5 in anticipation of 2.1.0
release.

* Remove hdf5_ appended to tag for binary download.
2026-02-05 18:09:06 -06:00
Scot Breitenfeld 21d916841c Changed CI ctest verbose setting (#6136)
* switched from always verbose ctest output to ONLY on test failures

* Windows and macOS builds will skip clang-format check before building documentation

* resolved Doxygen warnings by adding H5G_link_t=H5L_type_t to the DOXYGEN_PREDEFINED list, by adding the macro definition, Doxygen now knows to treat H5G_link_t as H5L_type_
2025-12-30 13:16:55 -06:00
Allen Byrne 9b865ef667 Fixes for maven verify and testing (#5996)
Add generate-index-html.sh script and update workflows to generate and upload index.html files for HDF5 releases, enhancing Maven package testing and deployment.
2025-11-09 16:58:38 -06:00
Allen Byrne f8baa1b498 Fix and update maven package workflows and documentation (#5994)
Update workflows, scripts, and documentation for improved Maven package handling and testing, including new scripts for JNI and FFM implementations.
2025-11-07 23:34:04 -06:00
Allen Byrne b754dcb8f2 Move Java wrappers to FFM using jextract and java 25 (#5957)
FFM build requires Java 25, Jextract 25.
Generates FFM bindings during configure.
JNI is default when the requirements are not met or can be forced.
Presets added for maven and FFM - JNI is default selection.
Enhanced Maven options will work with either JNI or FFM
New Workflows for testing and maven uploads.
Extensive documentation changes for java.
2025-11-04 14:03:06 -06:00
Dana Robinson 683f80ac4b Remove 'cmake' from GitHub workflow yml filenames (#5824)
Now that we are CMake-only, there is no need to use cmake in the
GitHub CI yml filenames.
2025-09-14 20:40:39 -05:00
Allen Byrne 016639a526 add the s3-build workflow to release (#5787) 2025-09-08 07:37:28 -05:00
Allen Byrne 63803d7115 allow better CMake version testing (#5727)
* add cmake latest workflow with lukka/get-cmake@latest
* Upgrade minimum CMake version to 3.26
2025-08-23 06:43:20 -05:00
Allen Byrne 97420ea678 Remove duplicate and unneeded dmg step in workflow - correct ABI version compare (#4955)
* Rerun dmg on failure - correct ABI version compare

* Remove unneeded dmg step
2024-10-14 15:10:30 -07:00
Allen Byrne 39361bd24e Update windows and apple signing process (#4806) 2024-09-05 09:15:12 -05:00
Allen Byrne 6896bf46eb Fix the release reference name (#4721) 2024-08-16 12:04:03 -07:00
Allen Byrne 78fb239e83 Add secrets to release workflow (#4719) 2024-08-16 08:00:00 -07:00
Allen Byrne 4d3ed863c2 Add publish to bucket workflow (#4566) 2024-06-24 07:59:29 -05:00
Allen Byrne e2ea0a3ae7 Rework snapshots/release workflows for consistent args (#4227) 2024-03-24 18:10:09 -07:00
Allen Byrne 0e179d1f60 Add back snapshot names (#4198) 2024-03-21 09:12:50 -07:00
Allen Byrne f87725c203 Merge HDF4 release workflow changes to hdf5 (#4093) 2024-03-08 14:13:10 -08:00
Allen Byrne 5fc7111895 Add NEWSLETTER and merge abi reports and add sha256sums (#4055) 2024-03-05 14:50:39 -08:00
Allen Byrne 7392a102d8 Delete old snapshot binaries after new snapshots are created (#4020) 2024-02-15 15:32:01 -06:00
Allen Byrne 6b22af7c43 Add abi-complience check and upload to releases (#3996) 2024-02-08 07:58:08 -06:00
Allen Byrne 365e23340c Fix doxygen errors (#3962)
* Switch warnings as errors to default OFF

* Enable mac docs

* Add doxygen action uses step

* Use html div around snippet

* Allow preset name to be an argument to cmake-ctest.yml
2024-01-29 07:38:54 -06:00
Allen Byrne d001379f68 Update upload- artifact to match download version (#3929)
* Update upload- artifact to match download version

* Correct form of action call
2024-01-08 06:06:40 -08: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
Allen Byrne c82f9a550b Convert main.yml CI into callable workflows (#3529) 2023-09-17 21:34:42 -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 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
Allen Byrne ab4d2aec97 Fix the doxygen to gh pages and artifact creation (#3176) 2023-06-26 13:53:10 -05:00
Allen Byrne 706c2557a8 Add missing space in zip command (#3167) 2023-06-22 09:43:53 -05: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
Allen Byrne b3d9a06555 Fix paths for doxygen and add step to upload to gh-pages (#3061) 2023-06-07 05:57:13 -07: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
Allen Byrne 018ca4e37f Develop release workflow (#3002)
Implement (pre)release workflow for daily build
2023-05-25 10:24:54 -07:00