Skip to content

Commit

Permalink
ci: cwin auto
Browse files Browse the repository at this point in the history
close #157
  • Loading branch information
hyoklee committed Mar 9, 2024
1 parent a7df107 commit 7e725a3
Show file tree
Hide file tree
Showing 4 changed files with 91 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/autotools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,9 @@ jobs:
uses: ./.github/workflows/nvhpc-auto.yml
with:
build_mode: "production"

call-release-auto-cygwin:
name: "Autotools Cygwin Workflows"
uses: ./.github/workflows/cwin-auto.yml
with:
build_mode: "production"
59 changes: 59 additions & 0 deletions .github/workflows/cwin-auto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: hdf5 dev autotools Cygwin

on:
workflow_call:
inputs:
build_mode:
description: "release vs. debug build"
required: true
type: string

permissions:
contents: read

jobs:
cygwin_build_and_test:
name: "Cygwin ${{ inputs.build_mode }}"
runs-on: windows-latest
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf input
- uses: actions/checkout@v4

- name: Install Cygwin
uses: cygwin/cygwin-install-action@master
with:
packages: cmake gcc-fortran make ninja perl zlib-devel

- name: Autotools Configure
run: |
export PATH=/usr/bin:$PATH
./autogen.sh
./configure --enable-build-mode=${{ inputs.build_mode }}
shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}'

- name: Autotools Build
run: |
export PATH=/usr/bin:$PATH
make
shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}'

- name: Autotools Run Tests
run: |
export PATH=/usr/bin:$PATH
make check
shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}'

- name: Autotools Install
run: |
export PATH=/usr/bin:$PATH
make install
shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}'

- name: Autotools Uninstall
run: |
export PATH=/usr/bin:$PATH
make uninstall
shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}'
3 changes: 2 additions & 1 deletion .github/workflows/cwin-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ on:
type: string

jobs:
test:
cygwin_build_and_test:
name: "Cygwin ${{ inputs.build_mode }}"
runs-on: windows-latest
steps:
- name: Set git to use LF
Expand Down
28 changes: 24 additions & 4 deletions WATCHME.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,41 @@
# HDF5 for testing OpenBSD, ARM, RISC-V, aocc+clang+icc/x+nvhpc, and Spack+h5py

## Arch

| ARM | [![mac13 ios](https://github.com/hyoklee/hdf5/actions/workflows/ios.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/ios.yml) [![armv7 CMake](https://github.com/hyoklee/hdf5/actions/workflows/armv7.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/armv7.yml) [![arm64 CMake](https://github.com/hyoklee/hdf5/actions/workflows/arm64.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/arm64.yml) [![linux CMake gcc_arm64](https://github.com/hyoklee/hdf5/actions/workflows/linux-gcc_arm64.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-gcc_arm64.yml) [![linux CMake gcc_arm64 cpp](https://github.com/hyoklee/hdf5/actions/workflows/linux-gcc_arm64-cpp.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-gcc_arm64-cpp.yml)|
| RISC-V | [![riscv64 lin](https://github.com/hyoklee/hdf5/actions/workflows/riscv64-lin.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/riscv64-lin.yml) |

## OS

| Test | Status |
| -----| ------ |
| CI | [![main](https://github.com/hyoklee/hdf5/actions/workflows/main.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/main.yml) |
| OpenBSD | [![auto](https://github.com/hyoklee/hdf5/actions/workflows/auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/auto.yml) [![d](https://github.com/hyoklee/hdf5/actions/workflows/d.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/d.yml) [![r](https://github.com/hyoklee/hdf5/actions/workflows/r.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/r.yml) |
| MSYS2 | [![msys2](https://github.com/hyoklee/hdf5/actions/workflows/msys2.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/msys2.yml) |
| ARM | [![mac13 ios](https://github.com/hyoklee/hdf5/actions/workflows/ios.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/ios.yml) [![armv7 CMake](https://github.com/hyoklee/hdf5/actions/workflows/armv7.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/armv7.yml) [![arm64 CMake](https://github.com/hyoklee/hdf5/actions/workflows/arm64.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/arm64.yml) [![linux CMake gcc_arm64](https://github.com/hyoklee/hdf5/actions/workflows/linux-gcc_arm64.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-gcc_arm64.yml) [![linux CMake gcc_arm64 cpp](https://github.com/hyoklee/hdf5/actions/workflows/linux-gcc_arm64-cpp.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-gcc_arm64-cpp.yml)|
| RISC-V | [![riscv64 lin](https://github.com/hyoklee/hdf5/actions/workflows/riscv64-lin.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/riscv64-lin.yml) |
| Cygwin | [![auto](https://github.com/hyoklee/hdf5/actions/workflows/cwin_auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/cwin_auto.yml) [![cmake](https://github.com/hyoklee/hdf5/actions/workflows/cwin_cmake.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/cwin_cmake.yml) |

## Compilers

| Test | Status |
| -----| ------ |
| aocc | [![linux autotools aocc ompi](https://github.com/hyoklee/hdf5/actions/workflows/linux-auto-aocc-ompi.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-auto-aocc-ompi.yml) [![linux autotools aocc f ompi](https://github.com/hyoklee/hdf5/actions/workflows/linux-auto-aocc-f-ompi.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-auto-aocc-f-ompi.yml) [![linux autotools aocc d f ompi](https://github.com/hyoklee/hdf5/actions/workflows/linux-auto-aocc-d-f-ompi.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-auto-aocc-d-f-ompi.yml)|
| icx | [![linux CMake icx](https://github.com/hyoklee/hdf5/actions/workflows/linux-icx.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-icx.yml) [![lin auto icx](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-icx.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-icx.yml) [![linux autotools icx debug](https://github.com/hyoklee/hdf5/actions/workflows/linux-icx-auto-debug.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-icx-auto-debug.yml) [![linux CMake icx sf](https://github.com/hyoklee/hdf5/actions/workflows/linux-icx-sf.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-icx-sf.yml) [![linux autotools icx sf debug](https://github.com/hyoklee/hdf5/actions/workflows/linux-icx-auto-sf-debug.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-icx-auto-sf-debug.yml) |
| icx/ifx | [![windows 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) [![windows ninja icx ifx](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f.yml) [![win ninja icx ifx sh](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f-sh.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f-sh.yml) [![windows 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) [![windows ninja icx ifx p](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f-p.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/win-ninja-icx-f-p.yml) [![windows 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) |
| f/clang | [![mac-13 CMake OFFs](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-offs.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-offs.yml) [![mac-13 CMake ROS3](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-ros3.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-ros3.yml) [![mac-13 CMake clang15 debug gfortran mpich sf](https://github.com/hyoklee/hdf5/actions/workflows/mac-clang15-cmake.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-clang15-cmake.yml) [![mac13 clang15 r f mpich sf](https://github.com/hyoklee/hdf5/actions/workflows/mac13-clang15-r-f-mpich-sf.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac13-clang15-r-f-mpich-sf.yml) [![mac-13 CMake Xcode clang15 debug mpich sf](https://github.com/hyoklee/hdf5/actions/workflows/mac-clang15-xcode.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-clang15-xcode.yml) [![mac CMake java parallel](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake.yml) [![mac CMake java parallel threadsafe](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-ts.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-ts.yml) [![mac Xcode](https://github.com/hyoklee/hdf5/actions/workflows/mac-xcode.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-xcode.yml) [![mac CMake flang java parallel mpich](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-flang-mpich.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-flang-mpich.yml) |
| nvhpc | [![linux CMake nvhpc](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc.yml) [![linux CMake nvhpc release](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-r.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-r.yml) [![linux autotools nvhpc](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-auto.yml) [![linux CMake nvhpc sf](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-sf.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-sf.yml) [![linux autotools nvhpc sf](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-auto-sf.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-nvhpc-auto-sf.yml) |
| MPICH | [![mac CMake fortran java parallel mpich](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-mpich.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-mpich.yml) |

## Build

| Test | Status |
| -----| ------ |
| Spack+h5py | [![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) [![lin spack h5py](https://github.com/hyoklee/hdf5/actions/workflows/lin-spack-h5py.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-spack-h5py.yml) [![mac spack h5py](https://github.com/hyoklee/hdf5/actions/workflows/mac-spack-h5py.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-spack-h5py.yml) |

## Feature

| Test | Status |
| -----| ------ |
| Extra | [![linux atutools parallel threadsafe vfds](https://github.com/hyoklee/hdf5/actions/workflows/linux-auto-ts.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-auto-ts.yml) [![linux autotools parallel vfds](https://github.com/hyoklee/hdf5/actions/workflows/linux-auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/linux-auto.yml) [![mac autotools parallel](https://github.com/hyoklee/hdf5/actions/workflows/mac-auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-auto.yml) |
| Interop. | [![HDF-EOS5](https://img.shields.io/github/actions/workflow/status/HDFGroup/hdf5/hdfeos5.yml?branch=develop&label=HDF-EOS5)](https://github.com/HDFGroup/hdf5/actions?query=branch%3Adevelop) [![netCDF](https://github.com/hyoklee/hdf5/actions/workflows/netcdf.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/netcdf.yml) |
| MPICH | [![mac CMake fortran java parallel mpich](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-mpich.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac-cmake-mpich.yml) |

[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/HDFGroup/hdf5.svg)](http://isitmaintained.com/project/HDFGroup/hdf5 "Average time to resolve an issue")
[![Percentage of issues still open](http://isitmaintained.com/badge/open/HDFGroup/hdf5.svg)](http://isitmaintained.com/project/HDFGroup/hdf5 "Percentage of issues still open")
Expand Down

0 comments on commit 7e725a3

Please sign in to comment.