Skip to content

Commit c89f74d

Browse files
fix ci
1 parent 6cd22d8 commit c89f74d

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

.github/workflows/cmake-multi-platform.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868
# ------------------------
6969
# Install OpenMP + HDF5
7070
# ------------------------
71+
7172
- name: Install OpenMP + HDF5 (Ubuntu)
7273
if: startsWith(matrix.os, 'ubuntu')
7374
run: |
@@ -80,13 +81,21 @@ jobs:
8081
brew update
8182
brew install llvm libomp hdf5
8283
83-
- name: Install MinGW with OpenMP + HDF5 (Windows GCC)
84+
# ------------------------
85+
# FIXED: Proper MinGW HDF5 install
86+
# ------------------------
87+
- name: Install MinGW + HDF5 (Windows GCC)
8488
if: matrix.os == 'windows-latest' && matrix.c_compiler == 'gcc'
89+
shell: bash
8590
run: |
86-
choco install mingw -y
87-
choco install hdf5 -y || echo "HDF5 via Chocolatey may not exist; use vcpkg fallback"
88-
vcpkg install hdf5
91+
choco install msys2 -y
92+
C:/tools/msys64/usr/bin/pacman -Syu --noconfirm
93+
C:/tools/msys64/usr/bin/pacman -S --noconfirm mingw-w64-x86_64-hdf5
94+
echo "Using MSYS2 MinGW HDF5"
8995
96+
# ------------------------
97+
# MSVC stays the same
98+
# ------------------------
9099
- name: Install HDF5 (Windows MSVC)
91100
if: matrix.os == 'windows-latest' && matrix.c_compiler == 'cl'
92101
run: |

0 commit comments

Comments
 (0)