Skip to content

Commit

Permalink
ci: no parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoklee committed Oct 6, 2023
1 parent 31db354 commit 38eeb9a
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/win-ninja-icx-f.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: windows ninja icx ifx

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.3"
- 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: Checkout HDF5
uses: actions/checkout@v4
- name: Set oneAPI
shell: cmd
run: |
"C:\Program Files (x86)\Intel\oneAPI\setvars.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/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
39 changes: 39 additions & 0 deletions .github/workflows/win-ninja-icx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: windows ninja icx

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.3"
- 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: Checkout HDF5
uses: actions/checkout@v4
- name: Set oneAPI
shell: cmd
run: |
"C:\Program Files (x86)\Intel\oneAPI\setvars.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/compiler/2023.2.0/windows/bin/icx.exe" -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF ..
ninja
ctest -VV --output-on-error

0 comments on commit 38eeb9a

Please sign in to comment.