File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 1717 - " .github/workflows/ci_windows.yml"
1818 - " !memcheck.cmake"
1919 - " !coverage.cmake"
20+ workflow_dispatch :
2021
22+ # avoid wasted runs
23+ concurrency :
24+ group : ${{ github.workflow }}-${{ github.ref }}
25+ cancel-in-progress : true
2126
2227jobs :
2328
@@ -32,21 +37,22 @@ jobs:
3237
3338 steps :
3439 - uses : msys2/setup-msys2@v2
40+ id : msys2
3541 with :
3642 update : true
3743 install : >-
38- mingw-w64-x86_64-gcc-fortran
39- mingw-w64-x86_64-hdf5
44+ mingw-w64-ucrt- x86_64-gcc-fortran
45+ mingw-w64-ucrt- x86_64-hdf5
4046
4147 - name : Put MSYS2_MinGW64 on PATH
42- run : echo "${{ runner.temp }}/msys64/mingw64 /bin/" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
48+ run : echo "${{ steps.msys2.outputs.msys2-location }}/ucrt64 /bin/" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
4349
4450 - uses : actions/checkout@v4
4551
4652 - name : config
4753 run : cmake --preset default -G "MinGW Makefiles"
4854 env :
49- HDF5_ROOT : ${{ runner.temp }}/msys64/mingw64 /
55+ HDF5_ROOT : ${{ steps.msys2.outputs.msys2-location }}/ucrt64 /
5056
5157 - name : print config log
5258 if : ${{ failure() }}
6470 - name : example workflow
6571 run : cmake -S example -B example/build -G "MinGW Makefiles"
6672 env :
67- HDF5_ROOT : ${{ runner.temp }}/msys64/mingw64 /
73+ HDF5_ROOT : ${{ steps.msys2.outputs.msys2-location }}/ucrt64 /
6874
6975 - run : cmake --build example/build
7076
You can’t perform that action at this time.
0 commit comments