ci(icx): snapshot #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |