Skip to content

Commit

Permalink
ci: add daily rpm/deb installation test
Browse files Browse the repository at this point in the history
close #205
  • Loading branch information
hyoklee committed Apr 10, 2024
1 parent c669a68 commit 1519f6d
Show file tree
Hide file tree
Showing 3 changed files with 59 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
8 changes: 8 additions & 0 deletions WATCHME.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# HDF5 for All

## Installation

| Test | Status |
| -----| ------ |
| RPM | [![alien](https://github.com/hyoklee/hdf5/actions/workflows/alien.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/alien.yml) |
| DEB | [![dpkg](https://github.com/hyoklee/hdf5/actions/workflows/dpkg.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/dpkg.yml) |


## Arch

| Test | Status |
Expand Down

0 comments on commit 1519f6d

Please sign in to comment.