File tree Expand file tree Collapse file tree 3 files changed +7
-18
lines changed Expand file tree Collapse file tree 3 files changed +7
-18
lines changed Original file line number Diff line number Diff line change 16
16
- " **/CMakeLists.txt"
17
17
- " **.cmake"
18
18
- " .github/workflows/ci.yml"
19
- - " .github/workflows/composite-build/* "
19
+
20
20
workflow_dispatch :
21
21
22
22
# avoid wasted runs
37
37
shared : [true, false]
38
38
cpp : [true, false]
39
39
40
- env :
40
+ env : &gcc-env
41
41
CC : gcc-${{ matrix.gcc-version }}
42
42
CXX : g++-${{ matrix.gcc-version }}
43
43
FC : gfortran-${{ matrix.gcc-version }}
95
95
shared : true
96
96
cpp : true
97
97
98
- env :
99
- CC : gcc-${{ matrix.gcc-version }}
100
- CXX : g++-${{ matrix.gcc-version }}
101
- FC : gfortran-${{ matrix.gcc-version }}
98
+ env : *gcc-env
102
99
103
100
steps :
104
101
- uses : actions/checkout@v4
@@ -121,11 +118,7 @@ jobs:
121
118
shared : [false]
122
119
cpp : [true, false]
123
120
124
- env :
125
- CC : gcc-${{ matrix.gcc-version }}
126
- CXX : g++-${{ matrix.gcc-version }}
127
- FC : gfortran-${{ matrix.gcc-version }}
128
-
121
+ env : *gcc-env
129
122
130
123
steps :
131
124
- name : install compilers
@@ -158,10 +151,7 @@ jobs:
158
151
cpp : [true, false]
159
152
shared : [false]
160
153
161
- env :
162
- CC : gcc-${{ matrix.gcc-version }}
163
- CXX : g++-${{ matrix.gcc-version }}
164
- FC : gfortran-${{ matrix.gcc-version }}
154
+ env : *gcc-env
165
155
166
156
steps :
167
157
Original file line number Diff line number Diff line change 31
31
with :
32
32
python-version : ' 3.x'
33
33
34
- - run : pip install meson ninja
34
+ - run : pip install meson
35
35
36
36
- run : meson setup -Dtest=true -Dcpp=${{ matrix.cpp }} build
37
37
Original file line number Diff line number Diff line change 16
16
- " **/CMakeLists.txt"
17
17
- " **.cmake"
18
18
- " .github/workflows/ci_windows.yml"
19
- - " .github/workflows/composite-build/*"
20
19
- " !memcheck.cmake"
21
20
workflow_dispatch :
22
21
98
97
if : failure()
99
98
uses : actions/upload-artifact@v4
100
99
with :
101
- name : cpp-${{ matrix.cpp-std }}-${{ matrix.cpp }}- shared-${{ matrix.shared }} -${{ runner.os }}-CMakeConfigureLog.yaml
100
+ name : cpp-${{ matrix.cpp }}-shared-${{ runner.os }}-CMakeConfigureLog.yaml
102
101
path : build/CMakeFiles/CMakeConfigureLog.yaml
103
102
104
103
- name : Debug workflow
You can’t perform that action at this time.
0 commit comments