Commit 03256f3
CI: set CC in MAKEFLAGS directly, don't add it to the environment
Rather than pass a "$CC" and "$CC_PACKAGE" in the environment to be
picked up in ci/lib.sh let's instead have ci/lib.sh itself add it
directly to MAKEFLAGS.
Setting CC=gcc by default made for confusing trace output, and since a
preceding change to carry it and others over across "steps" in the
GitHub CI it's been even more misleading. E.g. the "win+VS build" job
confusingly has CC=gcc set, even though it builds with MSVC.
Let's instead reply on the Makefile default of CC=cc, and only
override it for those jobs where it's needed. This does mean that
we'll need to set it for the "pedantic" job, which previously relied
on the default CC=gcc in case "clang" become the default on that
platform.
This partially reverts my 707d2f2 (CI: use "$runs_on_pool", not
"$jobname" to select packages & config, 2021-11-23), i.e. we're now
aiming to only set those variables specific jobs need.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent ae739fa commit 03256f3
2 files changed
+23
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
242 | 241 | | |
243 | 242 | | |
244 | | - | |
245 | 243 | | |
246 | 244 | | |
247 | 245 | | |
248 | | - | |
249 | | - | |
250 | 246 | | |
251 | 247 | | |
252 | | - | |
253 | 248 | | |
254 | | - | |
255 | 249 | | |
256 | 250 | | |
257 | | - | |
258 | 251 | | |
259 | 252 | | |
260 | | - | |
261 | | - | |
262 | 253 | | |
263 | 254 | | |
264 | | - | |
265 | 255 | | |
266 | 256 | | |
267 | | - | |
268 | 257 | | |
269 | 258 | | |
270 | | - | |
271 | | - | |
272 | 259 | | |
273 | 260 | | |
274 | 261 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
67 | | - | |
68 | | - | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
138 | 140 | | |
139 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
140 | 145 | | |
| 146 | + | |
| 147 | + | |
141 | 148 | | |
142 | 149 | | |
143 | 150 | | |
| |||
152 | 159 | | |
153 | 160 | | |
154 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
155 | 169 | | |
| 170 | + | |
156 | 171 | | |
157 | 172 | | |
158 | 173 | | |
| 174 | + | |
159 | 175 | | |
160 | 176 | | |
161 | 177 | | |
| 178 | + | |
162 | 179 | | |
163 | 180 | | |
164 | 181 | | |
| |||
173 | 190 | | |
174 | 191 | | |
175 | 192 | | |
| 193 | + | |
176 | 194 | | |
177 | 195 | | |
178 | 196 | | |
179 | 197 | | |
180 | 198 | | |
181 | | - | |
| 199 | + | |
| 200 | + | |
0 commit comments