From fc8212a9530417915b340dc4ea9d953d7289417d Mon Sep 17 00:00:00 2001 From: "H. Joe Lee" Date: Fri, 15 Mar 2024 17:06:19 -0500 Subject: [PATCH] ci(gcc_min): add cross-compilation action for mingw64 close #163 --- .../{linux-gcc_arm64.yml => lin-gcc_arm64} | 2 +- ...cc_arm64-cpp.yml => lin-gcc_arm64-cpp.yml} | 2 +- .github/workflows/lin-gcc_min.yml | 25 +++++++++++++++++++ WATCHME.md | 3 ++- 4 files changed, 29 insertions(+), 3 deletions(-) rename .github/workflows/{linux-gcc_arm64.yml => lin-gcc_arm64} (98%) rename .github/workflows/{linux-gcc_arm64-cpp.yml => lin-gcc_arm64-cpp.yml} (97%) create mode 100644 .github/workflows/lin-gcc_min.yml diff --git a/.github/workflows/linux-gcc_arm64.yml b/.github/workflows/lin-gcc_arm64 similarity index 98% rename from .github/workflows/linux-gcc_arm64.yml rename to .github/workflows/lin-gcc_arm64 index 4edbef7485a..824c3189ddd 100644 --- a/.github/workflows/linux-gcc_arm64.yml +++ b/.github/workflows/lin-gcc_arm64 @@ -1,4 +1,4 @@ -name: linux gcc_arm64 +name: lin gcc_arm64 on: workflow_dispatch: diff --git a/.github/workflows/linux-gcc_arm64-cpp.yml b/.github/workflows/lin-gcc_arm64-cpp.yml similarity index 97% rename from .github/workflows/linux-gcc_arm64-cpp.yml rename to .github/workflows/lin-gcc_arm64-cpp.yml index 9f12bfb2497..fc8f4414c21 100644 --- a/.github/workflows/linux-gcc_arm64-cpp.yml +++ b/.github/workflows/lin-gcc_arm64-cpp.yml @@ -1,4 +1,4 @@ -name: linux gcc_arm64 cpp +name: lin gcc_arm64 cpp on: workflow_dispatch: diff --git a/.github/workflows/lin-gcc_min.yml b/.github/workflows/lin-gcc_min.yml new file mode 100644 index 00000000000..bf018fe4ffb --- /dev/null +++ b/.github/workflows/lin-gcc_min.yml @@ -0,0 +1,25 @@ +name: lin gcc_min + +on: [push, pull_request] + +jobs: + gcc_min: + name: lin gcc_min + runs-on: ubuntu-latest + steps: + - name: Install Dependencies + run: | + sudo apt update + sudo apt install -y mingw-w64 mingw-w64-tools wine64 + - name: Get Source + uses: actions/checkout@v4.1.1 + - name: Test HDF5 + run: | + mkdir build + cd build + cmake --toolchain ../config/toolchain/mingw64.cmake \ + -DBUILDNAME:STRING=gcc_min \ + -DCTEST_DROP_SITE_INIT:STRING="my.cdash.org" \ + -DSITE:STRING=lin \ + .. + ctest -D Experimental diff --git a/WATCHME.md b/WATCHME.md index a415f53a745..1c591bbec88 100644 --- a/WATCHME.md +++ b/WATCHME.md @@ -37,7 +37,8 @@ | aocc | [![linux autotools aocc ompi](https://github.com/hyoklee/hdf5/actions/workflows/lin-auto-aocc-ompi.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-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)| | clang | [![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) | | flang | [![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) | -| gcc_arm | [![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) | +| gcc_arm | [![lin gcc_arm64](https://github.com/hyoklee/hdf5/actions/workflows/lin-gcc_arm64.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-gcc_arm64.yml) [![lin gcc_arm64 cpp](https://github.com/hyoklee/hdf5/actions/workflows/lin-gcc_arm64-cpp.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-gcc_arm64-cpp.yml) | +| gcc_min | [![lin gcc_min](https://github.com/hyoklee/hdf5/actions/workflows/lin-gcc_min.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-gcc_min.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) [![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) [![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) | | ifx | [![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 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) [![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) | | nvhpc | [![lin nvhpc](https://github.com/hyoklee/hdf5/actions/workflows/lin-nvhpc.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/lin-nvhpc.yml) [![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 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) |