Skip to content

Commit

Permalink
updated GH actions to test latest HDF5 release (#29)
Browse files Browse the repository at this point in the history
* bump gh action versions
  • Loading branch information
brtnfld authored Jun 7, 2024
1 parent d6e0727 commit c27f1ee
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip-ci')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.1.1
- name: Run clang-format style check for C programs.
uses: DoozyX/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clang-format-fix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip-ci')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.1.1
- name: Run clang-format style check for C programs.
uses: DoozyX/[email protected]
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/hdf5-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout vol-cache
uses: actions/checkout@v2
uses: actions/checkout@v4.1.1
- name: Checkout HDF5
uses: actions/checkout@v2
uses: actions/checkout@v4.1.1
with:
repository: HDFGroup/hdf5
path: hdf5
- name: Checkout Argobots
uses: actions/checkout@v2
uses: actions/checkout@v4.1.1
with:
repository: pmodels/argobots
path: abt
- name: Checkout vol-async
uses: actions/checkout@v2
uses: actions/checkout@v4.1.1
with:
repository: hpc-io/vol-async
path: vol-async
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
ctest --output-on-failure
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: git.txt
path: ${{ runner.workspace }}/vol-cache/hdf5/git.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test HDFGroup/hdf5-1_13_2
name: Test HDFGroup/hdf5-latest

# Controls when the action will run.
on:
Expand All @@ -14,20 +14,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout vol-cache
uses: actions/checkout@v2
- name: Checkout HDF5
uses: actions/checkout@v2
with:
repository: HDFGroup/hdf5
path: hdf5
ref: 'hdf5-1_13_2'
uses: actions/[email protected]
- name: Checkout latest HDF5 release
run: |
wget https://github.com/HDFGroup/hdf5/releases/latest/download/hdf5.tar.gz
tar xzf hdf5.tar.gz
ln -sf hdf5-* hdf5
- name: Checkout Argobots
uses: actions/checkout@v2
uses: actions/checkout@v4.1.1
with:
repository: pmodels/argobots
path: abt
- name: Checkout vol-async
uses: actions/checkout@v2
uses: actions/checkout@v4.1.1
with:
repository: hpc-io/vol-async
path: vol-async
Expand All @@ -39,7 +38,6 @@ jobs:
cmake --version
mkdir -p hdf5/build
cd hdf5/build
git checkout hdf5-1_13_2
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local -DHDF5_ENABLE_PARALLEL:BOOL=ON -DHDF5_ENABLE_THREADSAFE:BOOL=ON -DALLOW_UNSUPPORTED:BOOL=ON ..
sudo make -j2 install
cd ..
Expand Down Expand Up @@ -86,7 +84,7 @@ jobs:
ctest --output-on-failure
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: git.txt
path: ${{ runner.workspace }}/vol-cache/hdf5/git.txt
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
timeout-minutes: 60

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.1.1

- name: Dependencies
run: |
Expand Down

0 comments on commit c27f1ee

Please sign in to comment.