Skip to content

Commit

Permalink
ci:windows: CMake >= 3.28 needs _ROOT hint
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Mar 8, 2024
1 parent 53dcf08 commit 7f0368a
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,22 @@ jobs:
mingw-w64-x86_64-hdf5
- name: Put MSYS2_MinGW64 on PATH
run: echo "${{ runner.temp }}/msys64/mingw64/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
run: echo "${{ runner.temp }}/msys64/mingw64/bin/" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append

- uses: actions/checkout@v4

# undefined reference to `ncpsharedlibfree'
# - name: Debug workflow
# run: cmake --workflow --preset debug

- name: Release workflow
run: cmake --workflow --preset release
- name: config
run: cmake -DHDF5_ROOT=${{ runner.temp }}/msys64/mingw64/ -DCMAKE_BUILD_TYPE=Release --preset default

- name: build
run: cmake --build --preset default

- name: test
run: ctest --preset default

# - run: cmake --install build

Expand Down

0 comments on commit 7f0368a

Please sign in to comment.