forked from HDFGroup/hdf5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
18 additions
and
29 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,39 +9,27 @@ jobs: | |
build: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Install CMake and Ninja | ||
- name: cmake | ||
uses: lukka/get-cmake@latest | ||
with: | ||
cmakeVersion: "3.27.6" | ||
- name: Install LLVM and Clang | ||
uses: KyleMayes/install-llvm-action@v2 | ||
with: | ||
version: "15" | ||
- name: Install Intel OneAPI | ||
- name: oneapi | ||
uses: awvwgk/setup-fortran@main | ||
with: | ||
compiler: intel | ||
version: '2024.1' | ||
- name: Install Intel MPI | ||
- name: mpi | ||
uses: mpi4py/setup-mpi@master | ||
with: | ||
mpi: intelmpi | ||
- name: Checkout HDF5 | ||
- name: checkout | ||
uses: actions/[email protected] | ||
- name: Set oneAPI | ||
shell: cmd | ||
run: | | ||
"C:\Program Files (x86)\Intel\oneAPI\setvars.bat" | ||
- name: Set MPI | ||
- name: set | ||
shell: cmd | ||
run: | | ||
"C:\Program Files (x86)\Intel\oneAPI\mpi\latest\env\vars.bat" | ||
- name: Configure & Build & Test | ||
"C:/Program Files (x86)/Intel/oneAPI/mpi/latest/env/vars.bat" | ||
- name: test | ||
shell: cmd | ||
run: | | ||
cd hdf5 | ||
mkdir build | ||
cd build | ||
cmake -G Ninja -DCMAKE_C_COMPILER="C:/Program Files (x86)/Intel/oneAPI/mpi/latest/bin/mpicc.bat" -DCMAKE_Fortran_COMPILER="C:/Program Files (x86)/Intel/oneAPI/mpi/latest/bin/mpiifort.bat" -DBUILD_SHARED_LIBS:BOOL=OFF -DHDF5_BUILD_FORTRAN:BOOL=ON -DHDF5_ENABLE_PARALLEL:BOOL=ON -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF -DHDF5_ENABLE_Z_LIB_SUPPORT:BOOL=OFF .. | ||
ninja | ||
ninja test | ||
cmake -G Ninja -DHDF5_BUILD_FORTRAN:BOOL=ON -DHDF5_ENABLE_PARALLEL:BOOL=ON -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF -DHDF5_ENABLE_Z_LIB_SUPPORT:BOOL=OFF -DMPIEXEC_EXECUTABLE:FILEPATH="C:\Program Files (x86)\Intel\oneAPI\mpi\2021.12\bin\mpiexec.exe" -DMPI_C_HEADER_DIR:PATH="C:\Program Files (x86)\Intel\oneAPI\mpi\2021.12\include" -DCTEST_DROP_SITE_INIT=my.cdash.org -DSITE=win -DBUILDNAME="ninja/icx/+f/+p" .. | ||
ctest -D Experimental -C Release |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,28 +6,29 @@ jobs: | |
build: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Install CMake and Ninja | ||
- name: cmake | ||
uses: lukka/get-cmake@latest | ||
- name: Install Intel OneAPI | ||
- name: oneapi | ||
uses: awvwgk/setup-fortran@main | ||
with: | ||
compiler: intel | ||
version: '2024.1' | ||
- name: Install Intel MPI | ||
- name: mpi | ||
uses: mpi4py/setup-mpi@master | ||
with: | ||
mpi: intelmpi | ||
- name: Checkout HDF5 | ||
- name: checkout | ||
uses: actions/[email protected] | ||
- name: Set MPI | ||
- name: set | ||
shell: cmd | ||
run: | | ||
"C:/Program Files (x86)/Intel/oneAPI/mpi/latest/env/vars.bat" | ||
- name: Configure | ||
- name: test | ||
shell: cmd | ||
run: | | ||
set LIB=C:\Program Files (x86)\Intel\oneAPI\mpi\2021.12\lib;%LIB% | ||
set | ||
mkdir build | ||
cd build | ||
cmake -G Ninja -DCMAKE_C_COMPILER="C:/Program Files (x86)/Intel/oneAPI/mpi/latest/bin/mpicc.bat" -DCMAKE_Fortran_COMPILER="C:/Program Files (x86)/Intel/oneAPI/mpi/latest/bin/mpiifort.bat" -DHDF5_ENABLE_PARALLEL:BOOL=ON -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF -DHDF5_ENABLE_Z_LIB_SUPPORT:BOOL=OFF -DCTEST_DROP_SITE_INIT=my.cdash.org -DSITE=win -DBUILDNAME="ninja/icx/+p" .. | ||
ctest -D Nightly -C Release | ||
cmake -G Ninja -DHDF5_ENABLE_PARALLEL:BOOL=ON -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF -DMPIEXEC_EXECUTABLE:FILEPATH="C:\Program Files (x86)\Intel\oneAPI\mpi\2021.12\bin\mpiexec.exe" -DMPI_C_HEADER_DIR:PATH="C:\Program Files (x86)\Intel\oneAPI\mpi\2021.12\include" -DHDF5_ENABLE_Z_LIB_SUPPORT:BOOL=OFF -DCTEST_DROP_SITE_INIT=my.cdash.org -DSITE=win -DBUILDNAME="ninja/icx/+p" .. | ||
ctest -D Experimental -C Release |