diff --git a/.github/workflows/win-ninja-icx-f.yml b/.github/workflows/win-ninja-icx-f.yml new file mode 100644 index 00000000000..f22925d63d7 --- /dev/null +++ b/.github/workflows/win-ninja-icx-f.yml @@ -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 diff --git a/.github/workflows/win-ninja-icx.yml b/.github/workflows/win-ninja-icx.yml new file mode 100644 index 00000000000..22dd3fbf09d --- /dev/null +++ b/.github/workflows/win-ninja-icx.yml @@ -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