From 8aa90b567d01f4a37c8457f2e75445a5056603f1 Mon Sep 17 00:00:00 2001 From: Hyo-Kyung Lee Date: Wed, 10 Apr 2024 10:23:04 -0500 Subject: [PATCH] Add Daily rpm/deb Package Installation Test Run 1-hour later than daily snapshot build GH Action that takes 30 minutes. --- .github/workflows/alien.yml | 26 ++++++++++++++++++++++++++ .github/workflows/dpkg.yml | 25 +++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 .github/workflows/alien.yml create mode 100644 .github/workflows/dpkg.yml diff --git a/.github/workflows/alien.yml b/.github/workflows/alien.yml new file mode 100644 index 00000000000..c1076138aab --- /dev/null +++ b/.github/workflows/alien.yml @@ -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 diff --git a/.github/workflows/dpkg.yml b/.github/workflows/dpkg.yml new file mode 100644 index 00000000000..e42e23838aa --- /dev/null +++ b/.github/workflows/dpkg.yml @@ -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