Skip to content

Commit

Permalink
Add Daily rpm/deb Package Installation Test
Browse files Browse the repository at this point in the history
Run 1-hour later than daily snapshot build GH Action that takes 30 minutes.
  • Loading branch information
hyoklee committed Apr 10, 2024
1 parent 0b4606a commit 8aa90b5
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/alien.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: alien
on:
workflow_dispatch:
schedule:
- cron: "7 0 * * *"

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
name: alien
steps:
- name: install
run: |
sudo apt-get -q update
sudo apt install alien
- name: test
run: |
curl -s -L -O https://github.com/HDFGroup/hdf5/releases/download/snapshot-1.14/snapshot-1.14-ubuntu-2204_gcc.rpm.tar.gz
tar zxvf snapshot-1.14-ubuntu-2204_gcc.rpm.tar.gz
cd hdf5
sudo alien HDF5-1.14.4.2-1.x86_64.rpm
sudo dpkg -i hdf5-1.14.4.2-2_amd64.deb
/HDF_Group/HDF5/1.14.4.2/bin/h5ls --help
25 changes: 25 additions & 0 deletions .github/workflows/dpkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: dpkg
on:
workflow_dispatch:
schedule:
- cron: "7 0 * * *"

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
name: dpkg
steps:
- name: install
run: |
sudo apt-get -q update
sudo apt install alien
- name: test
run: |
curl -s -L -O https://github.com/HDFGroup/hdf5/releases/download/snapshot-1.14/snapshot-1.14-ubuntu-2204_gcc.deb.tar.gz
tar zxvf snapshot-1.14-ubuntu-2204_gcc.deb.tar.gz
cd hdf5
sudo dpkg -i HDF5-1.14.4.2-Linux.deb
/HDF_Group/HDF5/1.14.4.2/bin/h5ls --help

0 comments on commit 8aa90b5

Please sign in to comment.