Skip to content

Commit

Permalink
ci: cyg ompi
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoklee committed Mar 31, 2024
1 parent 58ec887 commit e8ed371
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 141 deletions.
59 changes: 0 additions & 59 deletions .github/workflows/cwin-auto.yml

This file was deleted.

50 changes: 0 additions & 50 deletions .github/workflows/cwin-cmake.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/cyg-ninja-sh-ompi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: cyg ninja sh ompi

on: [push, pull_request]

jobs:
test:
runs-on: windows-latest
steps:
- name: git
run: git config --global core.autocrlf input
- name: get
uses: actions/checkout@v4
- name: set
uses: cygwin/cygwin-install-action@master
with:
packages: cmake gcc-fortran libhwloc-devel libevent-devel make ninja openmpi libopenmpi-devel perl zlib-devel
- name: test
run: |
export PATH=/usr/bin:$PATH
mkdir build
cd build
cmake -G Ninja \
-DSITE:STRING=cwin \
-DBUILDNAME:STRING="ninja.-sh.ompi" \
-DCTEST_DROP_SITE_INIT:STRING="my.cdash.org" \
-DCMAKE_SYSTEM_NAME="Linux" \
-DCMAKE_C_COMPILER=/usr/bin/mpicc \
-DCMAKE_CXX_COMPILER=/usr/bin/mpicxx \
-DBUILD_SHARED_LIBS:BOOL=OFF \
-DHDF5_ENABLE_PARALLEL:BOOL=ON \
..
ctest -D Experimental
shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}'
27 changes: 10 additions & 17 deletions .github/workflows/cyg.yml → .github/workflows/cyg-ninja.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,30 @@
name: cyg
name: cyg ninja

on:
push:
branches: [ develop ]
on: [push, pull_request]

jobs:
test:
name: "cyg"
name: cyg ninja
runs-on: windows-latest
steps:
- name: Set git to use LF
- name: git
run: |
git config --global core.autocrlf input
- uses: actions/checkout@v4

- name: Install Cygwin
- name: set
uses: cygwin/cygwin-install-action@master
with:
packages: cmake gcc-fortran make ninja perl zlib-devel
- name: Test HDF5
- name: test
run: |
export PATH=/usr/bin:$PATH
mkdir build
cd build
which cmake
cmake -G Ninja \
-D SITE:STRING=cwin \
-DBUILDNAME:STRING="ninja.-sh.ompi" \
-D BUILD_SHARED_LIBS:BOOL=OFF \
-D CTEST_DROP_SITE_INIT:STRING="my.cdash.org" \
-D SITE:STRING=cwin ..
ctest -T Build
ctest -T Test
if [[ $? -ne 0 ]]; then
ctest -T Submit
fi
..
ctest -D Experimental
shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}'
12 changes: 6 additions & 6 deletions .github/workflows/msys2-auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:
- { icon: '🟧', sys: clang64 }
name: ${{ matrix.icon }} msys2-${{ matrix.sys }}
steps:
- name: Set
- name: git
run: git config --global core.autocrlf input

- name: Get
- name: get
uses: actions/[email protected]

- name: '${{ matrix.icon }} Setup MSYS2'
- name: '${{ matrix.icon }} set'
uses: msys2/setup-msys2@v2
with:
msystem: ${{matrix.sys}}
Expand All @@ -50,18 +50,18 @@ jobs:
pacboy: >-
toolchain:p
- name: Configure
- name: configure
shell: msys2 {0}
run: |
./autogen.sh
./configure LDFLAGS="-lws2_32"
- name: Build
- name: build
shell: msys2 {0}
run: |
make
# - name: Test
# - name: test
# run: |
# make check -j
# working-directory: $GITHUB_WORKSPACE/build
13 changes: 6 additions & 7 deletions .github/workflows/msys2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,22 @@ jobs:
- clang64
runs-on: windows-latest
steps:
- name: Setup MSYS2
- name: git
run: git config --global core.autocrlf input
- name: get
uses: actions/checkout@v4
- name: '${{ matrix.icon }} set'
uses: msys2/setup-msys2@v2
with:
msystem: ${{matrix.sys}}
update: true
install: >-
git
pacboy: >-
toolchain:p
cmake:p
ninja:p
- name: Test HDF5
- name: build
shell: msys2 {0}
run: |
uname -a
git clone https://github.com/HDFgroup/hdf5.git
cd hdf5
mkdir build
cd build
cmake -DH5_HAVE_ALARM:INTERNAL=0 -DH5_HAVE_ASPRINTF:INTERNAL=0 -DH5_HAVE_VASPRINTF:INTERNAL=0 ..
Expand Down
4 changes: 2 additions & 2 deletions WATCHME.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
| --------| ------ |
| Windows | [![win ninja icx](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx.yml) [![win ninja icx ifx p sf](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f-p-sf.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f-p-sf.yml) |
| MSYS2 | [![msys2](https://github.com/hyoklee/hdf5/actions/workflows/msys2.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/msys2.yml) [![msys2 auto](https://github.com/hyoklee/hdf5/actions/workflows/msys2-auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/msys2-auto.yml) |
| Cygwin | [![cyg](https://github.com/hyoklee/hdf5/actions/workflows/cyg.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/cyg.yml) [![cyg auto](https://github.com/hyoklee/hdf5/actions/workflows/cyg-auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/cyg-auto.yml) |
| Cygwin | [![cyg](https://github.com/hyoklee/hdf5/actions/workflows/cyg-ninja.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/cyg-ninja.yml) [![cyg auto](https://github.com/hyoklee/hdf5/actions/workflows/cyg-auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/cyg-auto.yml) |


## Build
Expand Down Expand Up @@ -91,7 +91,7 @@

| Test | Status |
| --------| ------ |
| OpenMPI | [![ompi](https://github.com/hyoklee/hdf5/actions/workflows/ompi.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/ompi.yml) [![lin auto ompi ts dr mr s3 sf](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-ompi-ts-dr-mr-s3-sf.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-ompi-ts-dr-mr-s3-sf.yml) [![lin auto ompi dr mr s3](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-ompi-dr-mr-s3.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-ompi-dr-mr-s3.yml) [![lin spack f ompi](https://github.com/hyoklee/hdf5/actions/workflows/lin-spack-f-ompi.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-spack-f-ompi.yml) [![mac auto ompi](https://github.com/hyoklee/hdf5/actions/workflows/mac-auto-ompi.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-auto-ompi.yml) |
| OpenMPI | [![ompi](https://github.com/hyoklee/hdf5/actions/workflows/ompi.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/ompi.yml) [![lin auto ompi ts dr mr s3 sf](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-ompi-ts-dr-mr-s3-sf.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-ompi-ts-dr-mr-s3-sf.yml) [![lin auto ompi dr mr s3](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-ompi-dr-mr-s3.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-ompi-dr-mr-s3.yml) [![lin spack f ompi](https://github.com/hyoklee/hdf5/actions/workflows/lin-spack-f-ompi.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-spack-f-ompi.yml) [![mac auto ompi](https://github.com/hyoklee/hdf5/actions/workflows/mac-auto-ompi.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-auto-ompi.yml) [![cyg ninja -sh ompi](https://github.com/hyoklee/hdf5/actions/workflows/cyg-ninja-sh-ompi.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/cyg-ninja-sh-ompi.yml)|
| MPICH | [![mac auto mpich](https://github.com/hyoklee/hdf5/actions/workflows/mac-auto-mpich.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-auto-mpich.yml) [![mac ninja clang h f j mpich](https://github.com/hyoklee/hdf5/actions/workflows/mac-ninja-clang-h-f-j-mpich.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-ninja-clang-h-f-j-mpich.yml) |
| p | [![lin nvhpc f p](https://github.com/hyoklee/hdf5/actions/workflows/lin-nvhpc-f-p.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-nvhpc-f-p.yml) [![lin ninja nvhpc f p](https://github.com/hyoklee/hdf5/actions/workflows/lin-ninja-nvhpc-f-p.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-ninja-nvhpc-f-p.yml) [![lin auto nvhpc f sh p](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-nvhpc-f-sh-p.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-nvhpc-f-sh-p.yml) [![lin nvhpc f p sf](https://github.com/hyoklee/hdf5/actions/workflows/lin-nvhpc-f-p-sf.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-nvhpc-f-p-sf.yml) [![lin auto nvhpc f sh p sf](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-nvhpc-f-sh-p-sf.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-nvhpc-f-sh-p-sf.yml) [![win ninja icx p](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-p.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-p.yml) |

Expand Down

0 comments on commit e8ed371

Please sign in to comment.