Skip to content

Commit

Permalink
ci: use cmake 3.27.6 and ninja test
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoklee committed Oct 7, 2023
1 parent 38eeb9a commit 412e76c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 24 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/win-ninja-icx-f-p-sf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Install CMake and Ninja
uses: lukka/get-cmake@latest
with:
cmakeVersion: "3.27.0"
cmakeVersion: "3.27.6"
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
Expand Down Expand Up @@ -43,9 +43,4 @@ jobs:
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_BUILD_FORTRAN:BOOL=ON -DHDF5_ENABLE_PARALLEL:BOOL=ON -DHDF5_ENABLE_SUBFILING_VFD:BOOL=ON -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF ..
ninja
- name: Test
shell: cmd
run: |
cd hdf5/build
ctest -E MPI_TEST_H5DIFF-h5diff -VV --output-on-error
ninja test
12 changes: 4 additions & 8 deletions .github/workflows/win-ninja-icx-f-p.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Install CMake and Ninja
uses: lukka/get-cmake@latest
with:
cmakeVersion: "3.27.1"
cmakeVersion: "3.27.6"
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
Expand All @@ -36,16 +36,12 @@ jobs:
shell: cmd
run: |
"C:\Program Files (x86)\Intel\oneAPI\mpi\2021.10.0\env\vars.bat"
- name: Configure & Build
- 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_BUILD_FORTRAN:BOOL=ON -DHDF5_ENABLE_PARALLEL:BOOL=ON -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF ..
ninja
- name: Test
shell: cmd
run: |
cd hdf5/build
ctest -E MPI_TEST_H5DIFF-h5diff -VV --output-on-error
ninja test
6 changes: 3 additions & 3 deletions .github/workflows/win-ninja-icx-f.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Install CMake and Ninja
uses: lukka/get-cmake@latest
with:
cmakeVersion: "3.27.3"
cmakeVersion: "3.27.6"
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
Expand All @@ -35,5 +35,5 @@ jobs:
mkdir build
cd build
cmake -G Ninja -DCMAKE_C_COMPILER="C:/Program Files (x86)/Intel/oneAPI/compiler/2023.2.0/windows/bin/icx.exe" -DCMAKE_Fortran_COMPILER="C:/Program Files (x86)/Intel/oneAPI/compiler/2023.2.0/windows/bin/ifx.exe" -DHDF5_BUILD_FORTRAN:BOOL=ON -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF ..
ninja
ctest -VV --output-on-error
ninja test
6 changes: 3 additions & 3 deletions .github/workflows/win-ninja-icx-p.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Install CMake and Ninja
uses: lukka/get-cmake@latest
with:
cmakeVersion: "3.27.3"
cmakeVersion: "3.27.6"
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
Expand Down Expand Up @@ -43,5 +43,5 @@ jobs:
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 ..
ninja
ctest -E MPI_TEST_H5DIFF-h5diff -VV --output-on-error
ninja test
5 changes: 2 additions & 3 deletions .github/workflows/win-ninja-icx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Install CMake and Ninja
uses: lukka/get-cmake@latest
with:
cmakeVersion: "3.27.3"
cmakeVersion: "3.27.6"
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
Expand All @@ -35,5 +35,4 @@ jobs:
mkdir build
cd build
cmake -G Ninja -DCMAKE_C_COMPILER="C:/Program Files (x86)/Intel/oneAPI/compiler/2023.2.0/windows/bin/icx.exe" -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF ..
ninja
ctest -VV --output-on-error
ninja test

0 comments on commit 412e76c

Please sign in to comment.