diff --git a/.github/workflows/msys2-auto.yml b/.github/workflows/msys2-auto.yml index 4ea2da82c91..9ef83a250b3 100644 --- a/.github/workflows/msys2-auto.yml +++ b/.github/workflows/msys2-auto.yml @@ -1,20 +1,26 @@ -name: hdf5 dev Autotools MSys2 +name: msys2 auto on: workflow_call: - inputs: - build_mode: - description: "release vs. debug build" - required: true - type: string - build_option: - description: "--enable-production or --disable-production" - required: true - type: string + push: + pull_request: + branches: [ develop ] + paths-ignore: + - '.github/CODEOWNERS' + - '.github/FUNDING.yml' + - 'doc/**' + - 'release_docs/**' + - 'ACKNOWLEDGEMENTS' + - 'COPYING**' + - '**.md' permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }} + cancel-in-progress: true + jobs: msys2_build_and_test: runs-on: windows-latest @@ -25,12 +31,12 @@ jobs: - { icon: '🟦', sys: mingw64 } - { icon: '🟨', sys: ucrt64 } - { icon: '🟧', sys: clang64 } - name: ${{ matrix.icon }} msys2-${{ matrix.sys }}-${{ inputs.build_mode }} + name: ${{ matrix.icon }} msys2-${{ matrix.sys }} defaults: run: shell: msys2 {0} steps: - - name: Get Sources + - name: Get uses: actions/checkout@v4.1.1 - name: '${{ matrix.icon }} Setup MSYS2' @@ -43,24 +49,20 @@ jobs: autotools pacboy: >- toolchain:p - libjpeg-turbo:p - - name: Autotools Configure + - name: Configure run: | sh ./autogen.sh mkdir "$GITHUB_WORKSPACE/build" cd "$GITHUB_WORKSPACE/build" - LDFLAGS="-lws2_32" $GITHUB_WORKSPACE/configure \ - ${{ inputs.build_option }} \ - --disable-netcdf \ - --enable-static-exec + LDFLAGS="-lws2_32" $GITHUB_WORKSPACE/configure - - name: Autotools Build + - name: Build run: | - make -j3 + make -j working-directory: $GITHUB_WORKSPACE/build - - name: Autotools Run Tests - run: | - make check -j - working-directory: $GITHUB_WORKSPACE/build +# - name: Test +# run: | +# make check -j +# working-directory: $GITHUB_WORKSPACE/build diff --git a/WATCHME.md b/WATCHME.md index 29aec767180..d844b46ea5f 100644 --- a/WATCHME.md +++ b/WATCHME.md @@ -19,8 +19,8 @@ | FreeBSD | [![fbsd](https://github.com/hyoklee/hdf5/actions/workflows/fbsd.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/fbsd.yml) [![fbsd f j](https://github.com/hyoklee/hdf5/actions/workflows/fbsd-f-j.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/fbsd-f-j.yml) [![fbsd lf j](https://github.com/hyoklee/hdf5/actions/workflows/fbsd-lf-j.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/fbsd-lf-j.yml) [![arm64 fbsd f j](https://github.com/hyoklee/hdf5/actions/workflows/arm64-fbsd-f-j.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/arm64-fbsd-f-j.yml) | | NetBSD | [![nbsd](https://github.com/hyoklee/hdf5/actions/workflows/nbsd.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/nbsd.yml) [![nbsd f](https://github.com/hyoklee/hdf5/actions/workflows/nbsd-f.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/nbsd-f.yml) [![nbsd f -sh](https://github.com/hyoklee/hdf5/actions/workflows/nbsd-f-sh.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/nbsd-f-sh.yml) [![nbsd f j](https://github.com/hyoklee/hdf5/actions/workflows/nbsd-f-j.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/nbsd-f-j.yml) | | macOS | [![mac14 ninja h j ompi](https://github.com/hyoklee/hdf5/actions/workflows/mac14-ninja-h-j-ompi-cd.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/mac14-ninja-h-j-ompi-cd.yml) | -| MSYS2 | [![msys2](https://github.com/hyoklee/hdf5/actions/workflows/msys2.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/msys2.yml) | -| Cygwin | [![auto](https://github.com/hyoklee/hdf5/actions/workflows/cyg-auto.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/cyg-auto.yml) [![cmake](https://github.com/hyoklee/hdf5/actions/workflows/cyg.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/cyg.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) | | iOS | [![mac13 ios](https://github.com/hyoklee/hdf5/actions/workflows/ios.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/ios.yml) | | 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) |