mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-30 16:10:44 +08:00
CI: Test on MSYS2/UCRT64 environment
see: https://www.msys2.org/docs/environments
This commit is contained in:
parent
c5c2d931cc
commit
7c100f65e5
11
.github/workflows/run_tests_win_mingw.yml
vendored
11
.github/workflows/run_tests_win_mingw.yml
vendored
@ -6,9 +6,6 @@
|
||||
|
||||
name: Run MSYS2, MinGW64-based Tests (Not Visual Studio)
|
||||
|
||||
env:
|
||||
CPPFLAGS: "-D_BSD_SOURCE"
|
||||
|
||||
on: [pull_request,workflow_dispatch]
|
||||
|
||||
concurrency:
|
||||
@ -20,6 +17,9 @@ jobs:
|
||||
build-and-test-autotools:
|
||||
|
||||
runs-on: windows-latest
|
||||
strategy:
|
||||
matrix:
|
||||
msystem: [ MINGW64, UCRT64] #, CLANG64 ]
|
||||
defaults:
|
||||
run:
|
||||
shell: msys2 {0}
|
||||
@ -29,9 +29,10 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: msys2/setup-msys2@v2
|
||||
with:
|
||||
msystem: MINGW64
|
||||
msystem: ${{ matrix.msystem }}
|
||||
update: true
|
||||
install: git mingw-w64-x86_64-toolchain automake libtool autoconf make cmake mingw-w64-x86_64-hdf5 unzip mingw-w64-x86_64-libxml2 mingw-w64-x86_64-zlib
|
||||
pacboy: cc:p autotools:p hdf5:p curl:p libxml2:p zlib:p blosc:p bzip2:p
|
||||
install: diffutils m4 git unzip
|
||||
|
||||
###
|
||||
# Configure and build
|
||||
|
Loading…
Reference in New Issue
Block a user