Skip to content

Merge branch 'HDFGroup:develop' into develop #21

Merge branch 'HDFGroup:develop' into develop

Merge branch 'HDFGroup:develop' into develop #21

name: windows ninja icx parallel
on:
push:
branches:
- develop
jobs:
build:
runs-on: windows-latest
steps:
- name: Install CMake and Ninja
uses: lukka/get-cmake@latest
with:
cmakeVersion: "3.27.6"
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: "15"
- name: Install Intel OneAPI
uses: awvwgk/setup-fortran@main
with:
compiler: intel
version: '2023.2'
- name: Install Intel MPI
uses: mpi4py/setup-mpi@v1
with:
mpi: intelmpi
- name: Checkout HDF5
uses: actions/checkout@v4
- name: Set oneAPI
shell: cmd
run: |
"C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
- name: Set MPI
shell: cmd
run: |
"C:\Program Files (x86)\Intel\oneAPI\mpi\2021.10.0\env\vars.bat"
- name: Configure & Build & Test
shell: cmd
run: |
cd hdf5
mkdir build
cd build
cmake -G Ninja -DCMAKE_C_COMPILER="C:/Program Files (x86)/Intel/oneAPI/mpi/2021.10.0/bin/mpicc.bat" -DCMAKE_Fortran_COMPILER="C:/Program Files (x86)/Intel/oneAPI/mpi/2021.10.0/bin/mpiifort.bat" -DHDF5_ENABLE_PARALLEL:BOOL=ON -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF -DHDF5_ENABLE_Z_LIB_SUPPORT:BOOL=OFF ..
ninja
ninja test