Skip to content

Commit

Permalink
CI: Work-Around GH Action Runner Win (#633)
Browse files Browse the repository at this point in the history
Work around the latest Windows GH action runner image update that
breaks compiles, likely due to DLL mismatches.
  • Loading branch information
ax3l committed Jun 11, 2024
1 parent dc1c6ad commit 9759f25
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ jobs:
7z.exe x -r hdf5-1_12_2.tar.gz
7z.exe x -r hdf5-1_12_2.tar
- name: Install Dependencies
env:
# Work-around for windows-latest GH runner issue, see
# https://github.com/actions/runner-images/issues/10004
CXXFLAGS: "/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR"
run: |
cmake -S hdf5-hdf5-1_12_2 -B build_hdf5 `
-DCMAKE_BUILD_TYPE=RelWithDebInfo `
Expand All @@ -58,6 +62,10 @@ jobs:
python3 -m pip install -U -r examples/requirements.txt
python3 -m pip install -U openPMD-validator
- name: Build
env:
# Work-around for windows-latest GH runner issue, see
# https://github.com/actions/runner-images/issues/10004
CXXFLAGS: "/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR"
run: |
$env:HDF5_DIR = "C:/Program Files/HDF_Group/HDF5/1.12.2/cmake/"
cmake -S . -B build `
Expand Down

0 comments on commit 9759f25

Please sign in to comment.