Skip to content

Commit

Permalink
Update CI and CMake to new branch (#4913)
Browse files Browse the repository at this point in the history
* Remove develop only workflows

* Update CI to match branch
  • Loading branch information
byrnHDF authored Oct 2, 2024
1 parent 4d093d6 commit 4a12ee9
Show file tree
Hide file tree
Showing 50 changed files with 132 additions and 1,254 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/abi-report.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 Check Application Binary Interface (ABI)
name: hdf5 1.16 Check Application Binary Interface (ABI)

# Triggers the workflow on a call from another workflow
on:
Expand All @@ -8,7 +8,7 @@ on:
description: 'Release version tag'
type: string
required: false
default: snapshot
default: snapshot-1.16
use_environ:
description: 'Environment to locate files'
type: string
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/aocc-auto.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev PAR autotools aocc ompi
name: hdf5 1.16 PAR autotools aocc ompi

# Triggers the workflow on a call from another workflow
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/aocc-cmake.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev PAR CMake aocc ompi
name: hdf5 1.16 PAR CMake aocc ompi

# Triggers the workflow on a call from another workflow
on:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/autotools.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: hdf5 dev autotools CI
name: hdf5 1.16 autotools CI

# Triggers the workflow on push or pull request or on demand
on:
workflow_dispatch:
push:
pull_request:
branches: [ develop ]
branches: [ hdf5_1_16 ]
paths-ignore:
- '.github/CODEOWNERS'
- '.github/FUNDING.yml'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cmake-bintest.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 examples bintest runs
name: hdf5 1.16 examples bintest runs

# Triggers the workflow on a call from another workflow
on:
Expand Down
110 changes: 55 additions & 55 deletions .github/workflows/cmake-ctest.yml

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions .github/workflows/cmake-script.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev ctest script runs
name: hdf5 1.16 ctest script runs

# Triggers the workflow on a call from another workflow
on:
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
contents: |
set (CTEST_DROP_SITE_INIT "my.cdash.org")
# Change following line to submit to your CDash dashboard to a different CDash project
#set (CTEST_DROP_LOCATION_INIT "/submit.php?project=HDF5")
set (CTEST_DROP_LOCATION_INIT "/submit.php?project=HDF5")
set (SITE_BUILDNAME_SUFFIX "${{ steps.set-file-base.outputs.FILE_BASE }}")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} --log-level=VERBOSE")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF5_BUILD_JAVA:BOOL=ON")
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
contents: |
set (CTEST_DROP_SITE_INIT "my.cdash.org")
# Change following line to submit to your CDash dashboard to a different CDash project
#set (CTEST_DROP_LOCATION_INIT "/submit.php?project=HDF5")
set (CTEST_DROP_LOCATION_INIT "/submit.php?project=HDF5")
set (SITE_BUILDNAME_SUFFIX "${{ steps.set-file-base.outputs.FILE_BASE }}")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} --log-level=VERBOSE")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF5_BUILD_JAVA:BOOL=ON")
Expand Down Expand Up @@ -285,7 +285,7 @@ jobs:
contents: |
set (CTEST_DROP_SITE_INIT "my.cdash.org")
# Change following line to submit to your CDash dashboard to a different CDash project
#set (CTEST_DROP_LOCATION_INIT "/submit.php?project=HDF5")
set (CTEST_DROP_LOCATION_INIT "/submit.php?project=HDF5")
set (SITE_BUILDNAME_SUFFIX "${{ steps.set-file-base.outputs.FILE_BASE }}")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} --log-level=VERBOSE")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF5_BUILD_JAVA:BOOL=ON")
Expand Down Expand Up @@ -371,7 +371,7 @@ jobs:
contents: |
set (CTEST_DROP_SITE_INIT "my.cdash.org")
# Change following line to submit to your CDash dashboard to a different CDash project
#set (CTEST_DROP_LOCATION_INIT "/submit.php?project=HDF5")
set (CTEST_DROP_LOCATION_INIT "/submit.php?project=HDF5")
set (SITE_BUILDNAME_SUFFIX "${{ steps.set-file-base.outputs.FILE_BASE }}")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} --log-level=VERBOSE")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF5_BUILD_JAVA:BOOL=ON")
Expand Down Expand Up @@ -471,9 +471,9 @@ jobs:
contents: |
set (CTEST_DROP_SITE_INIT "my.cdash.org")
# Change following line to submit to your CDash dashboard to a different CDash project
#set (CTEST_DROP_LOCATION_INIT "/submit.php?project=HDF5")
#set (CMAKE_GENERATOR_TOOLSET "Intel C++ Compiler 2024,fortran=ifx")
set (CTEST_DROP_LOCATION_INIT "/submit.php?project=HDF5")
set (SITE_BUILDNAME_SUFFIX "${{ steps.set-file-base.outputs.FILE_BASE }}")
#set (CMAKE_GENERATOR_TOOLSET "Intel C++ Compiler 2024,fortran=ifx")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} --log-level=VERBOSE")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DCMAKE_TOOLCHAIN_FILE:STRING=config/toolchain/intel.cmake")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF5_BUILD_JAVA:BOOL=ON")
Expand Down Expand Up @@ -570,7 +570,7 @@ jobs:
contents: |
set (CTEST_DROP_SITE_INIT "my.cdash.org")
# Change following line to submit to your CDash dashboard to a different CDash project
#set (CTEST_DROP_LOCATION_INIT "/submit.php?project=HDF5")
set (CTEST_DROP_LOCATION_INIT "/submit.php?project=HDF5")
set (SITE_BUILDNAME_SUFFIX "${{ steps.set-file-base.outputs.FILE_BASE }}")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} --log-level=VERBOSE")
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF5_BUILD_JAVA:BOOL=ON")
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: hdf5 dev cmake CI
name: hdf5 1.16 cmake CI

# Triggers the workflow on push or pull request or on demand
on:
workflow_dispatch:
push:
pull_request:
branches: [ develop ]
branches: [ hdf5_1_16 ]
paths-ignore:
- '.github/CODEOWNERS'
- '.github/FUNDING.yml'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cve.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: cve dev
name: cve 1.16

# Triggers the workflow on push or pull request or on demand
on:
workflow_dispatch:
push:
pull_request:
branches: [ develop ]
branches: [ hdf5_1_16 ]
paths-ignore:
- '.github/CODEOWNERS'
- '.github/FUNDING.yml'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cygwin-auto.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev autotools cygwin
name: hdf5 1.16 autotools cygwin

# Triggers the workflow on a call from another workflow
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cygwin-cmake.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev CMake cygwin
name: hdf5 1.16 CMake cygwin

# Triggers the workflow on a call from another workflow
on:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/daily-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev daily build
name: hdf5 1.16 daily build

# Triggers the workflow on a schedule or on demand
on:
Expand Down Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Get hdf5 release base name
uses: dsaltares/fetch-gh-release-asset@master
with:
version: 'tags/snapshot'
version: 'tags/snapshot-1.16'
file: 'last-file.txt'

- name: Read base-name file
Expand All @@ -49,7 +49,7 @@ jobs:
uses: ./.github/workflows/tarball.yml
with:
use_ignore: ${{ needs.get-old-names.outputs.run-ignore }}
use_tag: snapshot
use_tag: snapshot-1.16
use_environ: snapshots

call-workflow-c-script:
Expand All @@ -66,7 +66,7 @@ jobs:
with:
preset_name: ci-StdShar
file_base: ${{ needs.call-workflow-tarball.outputs.file_base }}
# use_tag: snapshot
# use_tag: snapshot-1.16
use_environ: snapshots
secrets:
APPLE_CERTS_BASE64: ${{ secrets.APPLE_CERTS_BASE64 }}
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
file_base: ${{ needs.call-workflow-tarball.outputs.file_base }}
file_branch: ${{ needs.call-workflow-tarball.outputs.file_branch }}
file_sha: ${{ needs.call-workflow-tarball.outputs.file_sha }}
use_tag: snapshot
use_tag: snapshot-1.16
use_environ: snapshots
if: ${{ ((needs.call-workflow-tarball.outputs.has_changes == 'true') || (needs.get-old-names.outputs.run-ignore == 'ignore')) }}

Expand All @@ -110,7 +110,7 @@ jobs:
uses: ./.github/workflows/remove-files.yml
with:
file_base: ${{ needs.get-old-names.outputs.hdf5-name }}
use_tag: snapshot
use_tag: snapshot-1.16
use_environ: snapshots
if: ${{ ((needs.call-workflow-tarball.outputs.has_changes == 'true') || (needs.get-old-names.outputs.run-ignore == 'ignore')) && (needs.get-old-names.outputs.hdf5-name != needs.call-workflow-tarball.outputs.file_base) }}

35 changes: 0 additions & 35 deletions .github/workflows/h5py.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/intel-auto.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev autotools icx
name: hdf5 1.16 autotools icx

# Triggers the workflow on a call from another workflow
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/intel-cmake.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev CMake icx
name: hdf5 1.16 CMake icx

# Triggers the workflow on a call from another workflow
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/julia-auto.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev autotools julia
name: hdf5 1.16 autotools julia

on:
workflow_call:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/julia-cmake.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev CMake julia
name: hdf5 1.16 CMake julia

on:
workflow_call:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-auto-par-spc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev autotools parallel special CI
name: hdf5 1.16 autotools parallel special CI

# Controls when the action will run. Triggers the workflow on a call
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-auto-par.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev autotools parallel CI
name: hdf5 1.16 autotools parallel CI

# Controls when the action will run. Triggers the workflow on a call
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-auto-spc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev autotools special CI
name: hdf5 1.16 autotools special CI

# Controls when the action will run. Triggers the workflow on a call
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-auto.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev autotools CI
name: hdf5 1.16 autotools CI

# Triggers the workflow on a call from another workflow
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-cmake-par.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev PAR CMake CI
name: hdf5 1.16 PAR CMake CI

on:
workflow_call:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-cmake-spc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev CMake special CI
name: hdf5 1.16 CMake special CI

# Controls when the action will run. Triggers the workflow on a call
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-cmake.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev CMake CI
name: hdf5 1.16 CMake CI

# Triggers the workflow on a call from another workflow
on:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/markdown-link-check.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Check Markdown links
name: Check 1.16 Markdown links

# Triggers the workflow on push or pull request or on demand
on:
workflow_dispatch:
schedule:
- cron: "0 10 * * 6"

# The config file handles things like http 500 errors from sites like GitLab
# and http 200 responses
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/msys2-auto.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev Autotools MSys2
name: hdf5 1.16 Autotools MSys2

# Triggers the workflow on a call from another workflow
on:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/netcdf.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: netCDF dev
name: netCDF 1.16

# Triggers the workflow on push or pull request or on demand
on:
workflow_dispatch:
push:
pull_request:
branches: [ develop ]
branches: [ hdf5_1_16 ]
paths-ignore:
- '.github/CODEOWNERS'
- '.github/FUNDING.yml'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nvhpc-auto.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev autotools nvhpc
name: hdf5 1.16 autotools nvhpc

# Triggers the workflow on a call from another workflow
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nvhpc-cmake.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev CMake nvhpc
name: hdf5 1.16 CMake nvhpc

# Triggers the workflow on a call from another workflow
on:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-files.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev release-files
name: hdf5 1.16 release-files

# Triggers the workflow on a call from another workflow
on:
Expand All @@ -8,7 +8,7 @@ on:
description: 'Release version tag'
type: string
required: false
default: snapshot
default: snapshot-1.16
use_environ:
description: 'Environment to locate files'
type: string
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
tag: "${{ inputs.use_tag }}"
force_push_tag: false
tag_exists_error: false
message: "Latest snapshot"
message: "Latest snapshot-1.16"

# Print result using the action output.
- run: |
Expand Down Expand Up @@ -280,10 +280,10 @@ jobs:
ls -l ${{ github.workspace }}
ls ${{ runner.workspace }}
- name: dev-only-docs
- name: branch-only-docs
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{ github.workspace }}/${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen
destination_dir: develop
destination_dir: v1_16

4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: hdf5 dev release build
name: hdf5 1.16 release build

# Triggers the workflow on demand
on:
Expand All @@ -8,7 +8,7 @@ on:
description: 'Release version tag'
type: string
required: false
default: snapshot
default: snapshot-1.16

permissions:
contents: read
Expand Down
Loading

0 comments on commit 4a12ee9

Please sign in to comment.