File tree Expand file tree Collapse file tree 3 files changed +26
-7
lines changed Expand file tree Collapse file tree 3 files changed +26
-7
lines changed Original file line number Diff line number Diff line change 16
16
- " **.f90"
17
17
- " .github/workflows/ci.yml"
18
18
- " !scripts/**"
19
+ workflow_dispatch :
20
+
21
+ # avoid wasted runs
22
+ concurrency :
23
+ group : ${{ github.workflow }}-${{ github.ref }}
24
+ cancel-in-progress : true
19
25
20
26
jobs :
21
27
28
34
29
35
strategy :
30
36
matrix :
31
- os : [ubuntu-24.04 , macos-latest]
37
+ os : [ubuntu-latest , macos-latest]
32
38
shared : [true, false]
33
39
34
40
steps :
79
85
80
86
strategy :
81
87
matrix :
82
- os : [ubuntu-24.04 , macos-latest]
88
+ os : [ubuntu-latest , macos-latest]
83
89
84
90
steps :
85
91
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change 13
13
CMAKE_BUILD_PARALLEL_LEVEL : 4
14
14
CTEST_PARALLEL_LEVEL : 0
15
15
CTEST_NO_TESTS_ACTION : error
16
+ workflow_dispatch :
16
17
18
+ # avoid wasted runs
19
+ concurrency :
20
+ group : ${{ github.workflow }}-${{ github.ref }}
21
+ cancel-in-progress : true
17
22
18
23
jobs :
19
24
@@ -23,14 +28,15 @@ jobs:
23
28
24
29
steps :
25
30
- uses : msys2/setup-msys2@v2
31
+ id : msys2
26
32
with :
27
33
update : true
28
34
install : >-
29
- mingw-w64-x86_64-gcc-fortran
30
- mingw-w64-x86_64-netcdf-fortran
35
+ mingw-w64-ucrt- x86_64-gcc-fortran
36
+ mingw-w64-ucrt- x86_64-netcdf-fortran
31
37
32
38
- name : Put MSYS2_MinGW64 on PATH
33
- run : echo "${{ runner.temp }}/msys64/mingw64 /bin/" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
39
+ run : echo "${{ steps.msys2.outputs.msys2-location }}/ucrt64 /bin/" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
34
40
35
41
- name : prefix path
36
42
run : |
46
52
- name : config
47
53
run : cmake -G "MinGW Makefiles" --preset default
48
54
env :
49
- HDF5_ROOT : ${{ runner.temp }}/msys64/mingw64 /
50
- NetCDF_ROOT : ${{ runner.temp }}/msys64/mingw64 /
55
+ HDF5_ROOT : ${{ steps.msys2.outputs.msys2-location }}/ucrt64 /
56
+ NetCDF_ROOT : ${{ steps.msys2.outputs.msys2-location }}/ucrt64 /
51
57
52
58
- name : build
53
59
run : cmake --build --preset default
Original file line number Diff line number Diff line change 19
19
- " **/CMakeLists.txt"
20
20
- " .github/workflows/oneapi-linux.yml"
21
21
- " !scripts/**"
22
+ workflow_dispatch :
23
+
24
+ # avoid wasted runs
25
+ concurrency :
26
+ group : ${{ github.workflow }}-${{ github.ref }}
27
+ cancel-in-progress : true
28
+
22
29
23
30
jobs :
24
31
You can’t perform that action at this time.
0 commit comments