Skip to content

Commit

Permalink
ci(icx): snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoklee committed Apr 7, 2024
1 parent 464f37f commit c5d229c
Show file tree
Hide file tree
Showing 6 changed files with 130 additions and 24 deletions.
29 changes: 7 additions & 22 deletions .github/workflows/lin-auto-icx-d.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,43 +3,28 @@ name: lin auto icx d
on:
push:
branches:
- main-
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout HDF5
uses: actions/checkout@v4
with:
repository: HDFGroup/hdf5
path: .

- name: Install Dependencies
- name: install
run: |
sudo apt-get update
sudo apt-get install autoconf automake libtool libtool-bin libaec-dev
- name: Add oneAPI to apt
shell: bash
run: |
cd /tmp
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo add-apt-repository -y "deb https://apt.repos.intel.com/oneapi all main"
- name: Install oneAPI dpcpp
shell: bash
run: |
sudo apt update
sudo add-apt-repository -y "deb https://apt.repos.intel.com/oneapi all sudo apt update
sudo apt install -y intel-oneapi-compiler-dpcpp-cpp
- name: Test
- name: test
shell: bash
run: |
source /opt/intel/oneapi/setvars.sh
./autogen.sh
curl -O -L https://github.com/HDFGroup/hdf5/archive/refs/tags/snapshot-1.14.tar.gz
gtar zxf snapshot-1.14.tar.gz
cd hdf5-snapshot-1.14
./configure --prefix=/tmp --enable-internal-debug=all CC="$(which icx)"
make -j
make check -j
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/lin-auto-icx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: lin auto icx

on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: install
run: |
sudo apt-get update
sudo apt-get install autoconf automake libtool libtool-bin libaec-dev
cd /tmp
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo add-apt-repository -y "deb https://apt.repos.intel.com/oneapi all sudo apt update
sudo apt install -y intel-oneapi-compiler-dpcpp-cpp
- name: test
shell: bash
run: |
source /opt/intel/oneapi/setvars.sh
curl -O -L https://github.com/HDFGroup/hdf5/archive/refs/tags/snapshot-1.14.tar.gz
gtar zxf snapshot-1.14.tar.gz
cd hdf5-snapshot-1.14
./configure --prefix=/tmp CC="$(which icx)"
make -j
make check -j
make install
make uninstall
31 changes: 31 additions & 0 deletions .github/workflows/lin-icx-d.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: lin icx d

on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: install
run: |
sudo apt-get update
sudo apt-get install autoconf automake libtool libtool-bin libaec-dev
cd /tmp
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo add-apt-repository -y "deb https://apt.repos.intel.com/oneapi all sudo apt update
sudo apt install -y intel-oneapi-compiler-dpcpp-cpp
- name: test
shell: bash
run: |
source /opt/intel/oneapi/setvars.sh
curl -O -L https://github.com/HDFGroup/hdf5/archive/refs/tags/snapshot-1.14.tar.gz
gtar zxf snapshot-1.14.tar.gz
cd hdf5-snapshot-1.14
mkdir build
cd build
cmake -DSITE:STRING="ubu-22.04" -DBUILDNAME:STRING="4/icx.d" -DCTEST_DROP_SITE_INIT:STRING="my.cdash.org" -DCTEST_DROP_LOCATION_INIT:STRING="/submit.php?project=HDF5" ..
ctest -D Experimental -C Debug
31 changes: 31 additions & 0 deletions .github/workflows/lin-icx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: lin icx

on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: install
run: |
sudo apt-get update
sudo apt-get install autoconf automake libtool libtool-bin libaec-dev
cd /tmp
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo add-apt-repository -y "deb https://apt.repos.intel.com/oneapi all sudo apt update
sudo apt install -y intel-oneapi-compiler-dpcpp-cpp
- name: test
shell: bash
run: |
source /opt/intel/oneapi/setvars.sh
curl -O -L https://github.com/HDFGroup/hdf5/archive/refs/tags/snapshot-1.14.tar.gz
gtar zxf snapshot-1.14.tar.gz
cd hdf5-snapshot-1.14
mkdir build
cd build
cmake -DSITE:STRING="ubu-22.04" -DBUILDNAME:STRING="4/icx.r" -DCTEST_DROP_SITE_INIT:STRING="my.cdash.org" -DCTEST_DROP_LOCATION_INIT:STRING="/submit.php?project=HDF5" ..
ctest -D Experimental -C Release
20 changes: 20 additions & 0 deletions .github/workflows/lin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: lin

on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: test
shell: bash
run: |
curl -O -L https://github.com/HDFGroup/hdf5/archive/refs/tags/snapshot-1.14.tar.gz
gtar zxf snapshot-1.14.tar.gz
cd hdf5-snapshot-1.14
mkdir build
cd build
cmake -DSITE:STRING="ubu-22.04" -DBUILDNAME:STRING="4/r" -DCTEST_DROP_SITE_INIT:STRING="my.cdash.org" -DCTEST_DROP_LOCATION_INIT:STRING="/submit.php?project=HDF5" ..
ctest -D Experimental -C Release
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ Actions speak louder than codes.
| NetBSD 10.0 | [![nbsd](https://github.com/hyoklee/actions/actions/workflows/nbsd.yml/badge.svg)](https://github.com/hyoklee/actions/actions/workflows/nbsd.yml) |
| NetBSD 9.3 | [![nbsd](https://github.com/hyoklee/actions/actions/workflows/nbsd-9.3.yml/badge.svg)](https://github.com/hyoklee/actions/actions/workflows/nbsd-9.3.yml) |

### Linux

| Test | Status |
| --------| ------ |
| Ubuntu 22.04 |[![lin](https://github.com/hyoklee/actions/actions/workflows/lin.yml/badge.svg)](https://github.com/hyoklee/actions/actions/workflows/lin.yml) |

### Mac

| Test | Status |
Expand Down Expand Up @@ -51,12 +57,13 @@ Actions speak louder than codes.

| Test | Status |
| ------| ------ |
| Autotools | [![auto](https://github.com/hyoklee/hdf5/actions/workflows/auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/auto.yml) [![arm64 auto](https://github.com/hyoklee/hdf5/actions/workflows/arm64-auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/arm64-auto.yml) [![riscv64 lin auto](https://github.com/hyoklee/hdf5/actions/workflows/riscv64-lin-auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/riscv64-lin-auto.yml) [![wsl suse-15.2 auto](https://github.com/hyoklee/actions/actions/workflows/wsl-suse-15.2-auto.yml/badge.svg)](https://github.com/hyoklee/actions/actions/workflows/wsl-suse-15.2-auto.yml) [![sol auto](https://github.com/hyoklee/actions/actions/workflows/sol-auto.yml/badge.svg)](https://github.com/hyoklee/actions/actions/workflows/sol-auto.yml) |
| Autotools | [![auto](https://github.com/hyoklee/hdf5/actions/workflows/auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/auto.yml) [![arm64 auto](https://github.com/hyoklee/hdf5/actions/workflows/arm64-auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/arm64-auto.yml) [![lin auto icx](https://github.com/hyoklee/actions/actions/workflows/lin-auto-icx.yml/badge.svg)](https://github.com/hyoklee/actions/actions/workflows/lin-auto-icx.yml) [![riscv64 lin auto](https://github.com/hyoklee/hdf5/actions/workflows/riscv64-lin-auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/riscv64-lin-auto.yml) [![wsl suse-15.2 auto](https://github.com/hyoklee/actions/actions/workflows/wsl-suse-15.2-auto.yml/badge.svg)](https://github.com/hyoklee/actions/actions/workflows/wsl-suse-15.2-auto.yml) [![sol auto](https://github.com/hyoklee/actions/actions/workflows/sol-auto.yml/badge.svg)](https://github.com/hyoklee/actions/actions/workflows/sol-auto.yml) |

## Compilers

| Test | Status |
| -----| ------ |
| icx |[![lin icx](https://github.com/hyoklee/actions/actions/workflows/lin-icx.yml/badge.svg)](https://github.com/hyoklee/actions/actions/workflows/lin-icx.yml) |
| gcc-7.5.0 |[![nbsd-9.3](https://github.com/hyoklee/actions/actions/workflows/nbsd-9.3.yml/badge.svg)](https://github.com/hyoklee/actions/actions/workflows/nbsd-9.3.yml)|
| gcc-10.2.1 |[![wsl deb](https://github.com/hyoklee/actions/actions/workflows/wsl-deb.yml/badge.svg)](https://github.com/hyoklee/actions/actions/workflows/wsl-deb.yml)|
| gcc-10.5.0 |[![nbsd](https://github.com/hyoklee/actions/actions/workflows/nbsd.yml/badge.svg)](https://github.com/hyoklee/actions/actions/workflows/nbsd.yml) |
Expand All @@ -67,5 +74,5 @@ Actions speak louder than codes.

| Test | Status |
| ------| ------ |
| Debug | [![d](https://github.com/hyoklee/hdf5/actions/workflows/d.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/d.yml) [![win d](https://github.com/hyoklee/actions/actions/workflows/win-d.yml/badge.svg)](https://github.com/hyoklee/actions/actions/workflows/win-d.yml) [![win19 d](https://github.com/hyoklee/actions/actions/workflows/win19-d.yml/badge.svg)](https://github.com/hyoklee/actions/actions/workflows/win19-d.yml)|
| Debug | [![d](https://github.com/hyoklee/hdf5/actions/workflows/d.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/d.yml) [![lin icx d](https://github.com/hyoklee/actions/actions/workflows/lin-icx-d.yml/badge.svg)](https://github.com/hyoklee/actions/actions/workflows/lin-icx-d.yml) [![lin auto icx d](https://github.com/hyoklee/actions/actions/workflows/lin-auto-icx-d.yml/badge.svg)](https://github.com/hyoklee/actions/actions/workflows/lin-auto-icx-d.yml) [![win d](https://github.com/hyoklee/actions/actions/workflows/win-d.yml/badge.svg)](https://github.com/hyoklee/actions/actions/workflows/win-d.yml) [![win19 d](https://github.com/hyoklee/actions/actions/workflows/win19-d.yml/badge.svg)](https://github.com/hyoklee/actions/actions/workflows/win19-d.yml)|

0 comments on commit c5d229c

Please sign in to comment.