ci: sync hdfeos #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: msys2 auto | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
branches: [ master ] | |
paths-ignore: | |
- '.github/CODEOWNERS' | |
- 'doc/**' | |
- 'release_docs/**' | |
- 'ACKNOWLEDGEMENTS' | |
- 'COPYING**' | |
- '**.md' | |
permissions: | |
contents: read | |
# Using concurrency to cancel any in-progress job or run | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
strategy: | |
matrix: | |
sys: | |
- mingw64 | |
- mingw32 | |
- ucrt64 | |
- clang64 | |
runs-on: windows-latest | |
steps: | |
- name: Setup MSYS2 | |
uses: msys2/setup-msys2@v2 | |
with: | |
msystem: ${{matrix.sys}} | |
update: true | |
install: >- | |
git | |
autotools | |
pacboy: >- | |
toolchain:p | |
libjpeg-turbo:p | |
- name: Test HDF4 | |
shell: msys2 {0} | |
run: | | |
uname -a | |
git clone https://github.com/HDFGroup/hdf4.git | |
cd hdf4 | |
./autogen.sh | |
./configure CFLAGS="-Wno-implicit-function-declaration" LDFLAGS="-lws2_32" | |
make | |
make check |