@@ -66,180 +66,183 @@ jobs:
66
66
make ENABLE_SYSTEM=1 artifact
67
67
make ENABLE_ARCH_TEST=1 artifact
68
68
if : ${{ always() }}
69
+ - name : Set parallel jobs variable
70
+ run : |
71
+ echo "PARALLEL=-j$(nproc)" >> $GITHUB_ENV
69
72
- name : default build with -g
70
73
env :
71
74
CC : ${{ steps.install_cc.outputs.cc }}
72
75
run : |
73
76
make distclean
74
- make OPT_LEVEL=-g -j$(nproc)
77
+ make OPT_LEVEL=-g $PARALLEL
75
78
if : ${{ always() }}
76
79
- name : default build with -Og
77
80
env :
78
81
CC : ${{ steps.install_cc.outputs.cc }}
79
82
run : |
80
83
make distclean
81
- make OPT_LEVEL=-Og -j$(nproc)
84
+ make OPT_LEVEL=-Og $PARALLEL
82
85
if : ${{ always() }}
83
86
- name : default build with -O0
84
87
env :
85
88
CC : ${{ steps.install_cc.outputs.cc }}
86
89
run : |
87
90
make distclean
88
- make OPT_LEVEL=-O0 -j$(nproc)
91
+ make OPT_LEVEL=-O0 $PARALLEL
89
92
if : ${{ always() }}
90
93
- name : default build with -O1
91
94
env :
92
95
CC : ${{ steps.install_cc.outputs.cc }}
93
96
run : |
94
97
make distclean
95
- make OPT_LEVEL=-O1 -j$(nproc)
98
+ make OPT_LEVEL=-O1 $PARALLEL
96
99
if : ${{ always() }}
97
100
- name : default build with -O2
98
101
env :
99
102
CC : ${{ steps.install_cc.outputs.cc }}
100
103
run : |
101
104
make distclean
102
- make OPT_LEVEL=-O2 -j$(nproc)
105
+ make OPT_LEVEL=-O2 $PARALLEL
103
106
if : ${{ always() }}
104
107
- name : default build with -O3
105
108
env :
106
109
CC : ${{ steps.install_cc.outputs.cc }}
107
110
run : |
108
111
make distclean
109
- make OPT_LEVEL=-O3 -j$(nproc)
112
+ make OPT_LEVEL=-O3 $PARALLEL
110
113
if : ${{ always() }}
111
114
- name : default build with -Ofast
112
115
env :
113
116
CC : ${{ steps.install_cc.outputs.cc }}
114
117
run : |
115
118
make distclean
116
- make OPT_LEVEL=-Ofast -j$(nproc)
119
+ make OPT_LEVEL=-Ofast $PARALLEL
117
120
if : ${{ always() }}
118
121
- name : default build for system emulation with -g
119
122
env :
120
123
CC : ${{ steps.install_cc.outputs.cc }}
121
124
run : |
122
125
make distclean
123
- make OPT_LEVEL=-g ENABLE_SYSTEM=1 -j$(nproc)
126
+ make OPT_LEVEL=-g ENABLE_SYSTEM=1 $PARALLEL
124
127
if : ${{ always() }}
125
128
- name : default build for system emulation with -Og
126
129
env :
127
130
CC : ${{ steps.install_cc.outputs.cc }}
128
131
run : |
129
132
make distclean
130
- make OPT_LEVEL=-Og ENABLE_SYSTEM=1 -j$(nproc)
133
+ make OPT_LEVEL=-Og ENABLE_SYSTEM=1 $PARALLEL
131
134
if : ${{ always() }}
132
135
- name : default build for system emulation with -O0
133
136
env :
134
137
CC : ${{ steps.install_cc.outputs.cc }}
135
138
run : |
136
139
make distclean
137
- make OPT_LEVEL=-O0 ENABLE_SYSTEM=1 -j$(nproc)
140
+ make OPT_LEVEL=-O0 ENABLE_SYSTEM=1 $PARALLEL
138
141
if : ${{ always() }}
139
142
- name : default build for system emulation with -O1
140
143
env :
141
144
CC : ${{ steps.install_cc.outputs.cc }}
142
145
run : |
143
146
make distclean
144
- make OPT_LEVEL=-O1 ENABLE_SYSTEM=1 -j$(nproc)
147
+ make OPT_LEVEL=-O1 ENABLE_SYSTEM=1 $PARALLEL
145
148
if : ${{ always() }}
146
149
- name : default build for system emulation with -O2
147
150
env :
148
151
CC : ${{ steps.install_cc.outputs.cc }}
149
152
run : |
150
153
make distclean
151
- make OPT_LEVEL=-O2 ENABLE_SYSTEM=1 -j$(nproc)
154
+ make OPT_LEVEL=-O2 ENABLE_SYSTEM=1 $PARALLEL
152
155
if : ${{ always() }}
153
156
- name : default build for system emulation with -O3
154
157
env :
155
158
CC : ${{ steps.install_cc.outputs.cc }}
156
159
run : |
157
160
make distclean
158
- make OPT_LEVEL=-O3 ENABLE_SYSTEM=1 -j$(nproc)
161
+ make OPT_LEVEL=-O3 ENABLE_SYSTEM=1 $PARALLEL
159
162
if : ${{ always() }}
160
163
- name : default build for system emulation with -Ofast
161
164
env :
162
165
CC : ${{ steps.install_cc.outputs.cc }}
163
166
run : |
164
167
make distclean
165
- make OPT_LEVEL=-Ofast ENABLE_SYSTEM=1 -j$(nproc)
168
+ make OPT_LEVEL=-Ofast ENABLE_SYSTEM=1 $PARALLEL
166
169
if : ${{ always() }}
167
170
- name : check + tests
168
171
env :
169
172
CC : ${{ steps.install_cc.outputs.cc }}
170
173
run : |
171
174
make distclean
172
- make check -j$(nproc)
173
- make tests -j$(nproc)
174
- make misalign -j$(nproc)
175
- make tool -j$(nproc)
175
+ make check $PARALLEL
176
+ make tests $PARALLEL
177
+ make misalign $PARALLEL
178
+ make tool $PARALLEL
176
179
if : ${{ always() }}
177
180
- name : diverse configurations
178
181
env :
179
182
CC : ${{ steps.install_cc.outputs.cc }}
180
183
run : |
181
- make distclean && make ENABLE_EXT_M=0 check -j$(nproc)
182
- make distclean && make ENABLE_EXT_A=0 check -j$(nproc)
183
- make distclean && make ENABLE_EXT_F=0 check -j$(nproc)
184
- make distclean && make ENABLE_EXT_C=0 check -j$(nproc)
185
- make distclean && make ENABLE_SDL=0 check -j$(nproc)
186
- make distclean && make ENABLE_Zicsr=0 check -j$(nproc)
187
- make distclean && make ENABLE_MOP_FUSION=0 check -j$(nproc)
188
- make distclean && make ENABLE_BLOCK_CHAINING=0 check -j$(nproc)
189
- make distclean && make ENABLE_Zba=0 check -j$(nproc)
190
- make distclean && make ENABLE_Zbb=0 check -j$(nproc)
191
- make distclean && make ENABLE_Zbc=0 check -j$(nproc)
192
- make distclean && make ENABLE_Zbs=0 check -j$(nproc)
193
- make distclean && make ENABLE_Zifencei=0 check -j$(nproc)
184
+ make distclean && make ENABLE_EXT_M=0 check $PARALLEL
185
+ make distclean && make ENABLE_EXT_A=0 check $PARALLEL
186
+ make distclean && make ENABLE_EXT_F=0 check $PARALLEL
187
+ make distclean && make ENABLE_EXT_C=0 check $PARALLEL
188
+ make distclean && make ENABLE_SDL=0 check $PARALLEL
189
+ make distclean && make ENABLE_Zicsr=0 check $PARALLEL
190
+ make distclean && make ENABLE_MOP_FUSION=0 check $PARALLEL
191
+ make distclean && make ENABLE_BLOCK_CHAINING=0 check $PARALLEL
192
+ make distclean && make ENABLE_Zba=0 check $PARALLEL
193
+ make distclean && make ENABLE_Zbb=0 check $PARALLEL
194
+ make distclean && make ENABLE_Zbc=0 check $PARALLEL
195
+ make distclean && make ENABLE_Zbs=0 check $PARALLEL
196
+ make distclean && make ENABLE_Zifencei=0 check $PARALLEL
194
197
if : ${{ always() }}
195
198
- name : misalignment test in block emulation
196
199
env :
197
200
CC : ${{ steps.install_cc.outputs.cc }}
198
201
run : |
199
202
make -C tests/system/alignment/
200
- make distclean && make ENABLE_ELF_LOADER=1 ENABLE_EXT_C=0 ENABLE_SYSTEM=1 misalign-in-blk-emu -j$(nproc)
203
+ make distclean && make ENABLE_ELF_LOADER=1 ENABLE_EXT_C=0 ENABLE_SYSTEM=1 misalign-in-blk-emu $PARALLEL
201
204
if : ${{ always() }}
202
205
- name : MMU test
203
206
env :
204
207
CC : ${{ steps.install_cc.outputs.cc }}
205
208
run : |
206
209
make -C tests/system/mmu/
207
- make distclean && make ENABLE_ELF_LOADER=1 ENABLE_SYSTEM=1 mmu-test -j$(nproc)
210
+ make distclean && make ENABLE_ELF_LOADER=1 ENABLE_SYSTEM=1 mmu-test $PARALLEL
208
211
if : ${{ always() }}
209
212
- name : gdbstub test
210
213
env :
211
214
CC : ${{ steps.install_cc.outputs.cc }}
212
215
run : |
213
- make distclean && make ENABLE_GDBSTUB=1 gdbstub-test -j$(nproc)
216
+ make distclean && make ENABLE_GDBSTUB=1 gdbstub-test $PARALLEL
214
217
if : ${{ always() }}
215
218
- name : JIT test
216
219
env :
217
220
CC : ${{ steps.install_cc.outputs.cc }}
218
221
run : |
219
- make ENABLE_JIT=1 clean && make ENABLE_JIT=1 check -j$(nproc)
220
- make ENABLE_JIT=1 clean && make ENABLE_EXT_A=0 ENABLE_JIT=1 check -j$(nproc)
221
- make ENABLE_JIT=1 clean && make ENABLE_EXT_F=0 ENABLE_JIT=1 check -j$(nproc)
222
- make ENABLE_JIT=1 clean && make ENABLE_EXT_C=0 ENABLE_JIT=1 check -j$(nproc)
223
- make ENABLE_JIT=1 clean && make ENABLE_EXT_M=0 ENABLE_JIT=1 check -j$(nproc)
224
- make ENABLE_JIT=1 clean && make ENABLE_Zba=0 ENABLE_JIT=1 check -j$(nproc)
225
- make ENABLE_JIT=1 clean && make ENABLE_Zbb=0 ENABLE_JIT=1 check -j$(nproc)
226
- make ENABLE_JIT=1 clean && make ENABLE_Zbc=0 ENABLE_JIT=1 check -j$(nproc)
227
- make ENABLE_JIT=1 clean && make ENABLE_Zbs=0 ENABLE_JIT=1 check -j$(nproc)
228
- make ENABLE_JIT=1 clean && make ENABLE_Zicsr=0 ENABLE_JIT=1 check -j$(nproc)
229
- make ENABLE_JIT=1 clean && make ENABLE_Zifencei=0 ENABLE_JIT=1 check -j$(nproc)
230
- make ENABLE_JIT=1 clean && make ENABLE_MOP_FUSION=0 ENABLE_JIT=1 check -j$(nproc)
231
- make ENABLE_JIT=1 clean && make ENABLE_BLOCK_CHAINING=0 ENABLE_JIT=1 check -j$(nproc)
222
+ make ENABLE_JIT=1 clean && make ENABLE_JIT=1 check $PARALLEL
223
+ make ENABLE_JIT=1 clean && make ENABLE_EXT_A=0 ENABLE_JIT=1 check $PARALLEL
224
+ make ENABLE_JIT=1 clean && make ENABLE_EXT_F=0 ENABLE_JIT=1 check $PARALLEL
225
+ make ENABLE_JIT=1 clean && make ENABLE_EXT_C=0 ENABLE_JIT=1 check $PARALLEL
226
+ make ENABLE_JIT=1 clean && make ENABLE_EXT_M=0 ENABLE_JIT=1 check $PARALLEL
227
+ make ENABLE_JIT=1 clean && make ENABLE_Zba=0 ENABLE_JIT=1 check $PARALLEL
228
+ make ENABLE_JIT=1 clean && make ENABLE_Zbb=0 ENABLE_JIT=1 check $PARALLEL
229
+ make ENABLE_JIT=1 clean && make ENABLE_Zbc=0 ENABLE_JIT=1 check $PARALLEL
230
+ make ENABLE_JIT=1 clean && make ENABLE_Zbs=0 ENABLE_JIT=1 check $PARALLEL
231
+ make ENABLE_JIT=1 clean && make ENABLE_Zicsr=0 ENABLE_JIT=1 check $PARALLEL
232
+ make ENABLE_JIT=1 clean && make ENABLE_Zifencei=0 ENABLE_JIT=1 check $PARALLEL
233
+ make ENABLE_JIT=1 clean && make ENABLE_MOP_FUSION=0 ENABLE_JIT=1 check $PARALLEL
234
+ make ENABLE_JIT=1 clean && make ENABLE_BLOCK_CHAINING=0 ENABLE_JIT=1 check $PARALLEL
232
235
if : ${{ always() }}
233
236
- name : undefined behavior test
234
237
run : |
235
- make distclean && make ENABLE_UBSAN=1 check -j$(nproc)
236
- make ENABLE_JIT=1 clean && make ENABLE_JIT=1 ENABLE_UBSAN=1 check -j$(nproc)
238
+ make distclean && make ENABLE_UBSAN=1 check $PARALLEL
239
+ make ENABLE_JIT=1 clean && make ENABLE_JIT=1 ENABLE_UBSAN=1 check $PARALLEL
237
240
if : ${{ always() }}
238
241
- name : boot Linux kernel test
239
242
env :
240
243
CC : ${{ steps.install_cc.outputs.cc }}
241
244
run : |
242
- make distclean && make INITRD_SIZE=32 ENABLE_SYSTEM=1 -j$(nproc) && make ENABLE_SYSTEM=1 artifact -j$(nproc)
245
+ make distclean && make INITRD_SIZE=32 ENABLE_SYSTEM=1 $PARALLEL && make ENABLE_SYSTEM=1 artifact $PARALLEL
243
246
.ci/boot-linux.sh
244
247
make ENABLE_SYSTEM=1 clean
245
248
if : ${{ always() }}
@@ -257,6 +260,9 @@ jobs:
257
260
steps :
258
261
- name : checkout code
259
262
uses : actions/checkout@v4
263
+ - name : Set parallel jobs variable
264
+ run : |
265
+ echo "PARALLEL=-j$(nproc)" >> $GITHUB_ENV
260
266
- name : build artifact
261
267
# The GitHub Action for non-x86 CPU
262
268
uses : allinurl/run-on-arch-action@master
@@ -280,12 +286,12 @@ jobs:
280
286
# Append custom commands here
281
287
run : |
282
288
make artifact
283
- make -j$(nproc)
284
- make check -j$(nproc)
285
- make ENABLE_JIT=1 clean && make ENABLE_JIT=1 check -j$(nproc)
286
- make ENABLE_JIT=1 clean && make ENABLE_EXT_A=0 ENABLE_JIT=1 check -j$(nproc)
287
- make ENABLE_JIT=1 clean && make ENABLE_EXT_F=0 ENABLE_JIT=1 check -j$(nproc)
288
- make ENABLE_JIT=1 clean && make ENABLE_EXT_C=0 ENABLE_JIT=1 check -j$(nproc)
289
+ make $PARALLEL
290
+ make check $PARALLEL
291
+ make ENABLE_JIT=1 clean && make ENABLE_JIT=1 check $PARALLEL
292
+ make ENABLE_JIT=1 clean && make ENABLE_EXT_A=0 ENABLE_JIT=1 check $PARALLEL
293
+ make ENABLE_JIT=1 clean && make ENABLE_EXT_F=0 ENABLE_JIT=1 check $PARALLEL
294
+ make ENABLE_JIT=1 clean && make ENABLE_EXT_C=0 ENABLE_JIT=1 check $PARALLEL
289
295
290
296
macOS-arm64 :
291
297
needs : [detect-code-related-file-changes]
@@ -307,6 +313,10 @@ jobs:
307
313
uses : rlalik/setup-cpp-compiler@master
308
314
with :
309
315
compiler : ${{ matrix.compiler }}
316
+ - name : Set parallel jobs variable
317
+ run : |
318
+ echo "PARALLEL=$(sysctl -n hw.logicalcpu)" >> $GITHUB_ENV
319
+ if : ${{ always() }}
310
320
- name : Symlink gcc-14 due to the default /usr/local/bin/gcc links to system's clang
311
321
run : |
312
322
ln -s /opt/homebrew/opt/gcc/bin/gcc-14 /usr/local/bin/gcc-14
@@ -323,66 +333,66 @@ jobs:
323
333
CC : ${{ steps.install_cc.outputs.cc }}
324
334
run : |
325
335
make distclean
326
- make check -j$(sysctl -n hw.logicalcpu)
327
- make tests -j$(sysctl -n hw.logicalcpu)
328
- make misalign -j$(sysctl -n hw.logicalcpu)
329
- make tool -j$(sysctl -n hw.logicalcpu)
336
+ make check $PARALLEL
337
+ make tests $PARALLEL
338
+ make misalign $PARALLEL
339
+ make tool $PARALLEL
330
340
if : ${{ always() }}
331
341
- name : diverse configurations
332
342
env :
333
343
CC : ${{ steps.install_cc.outputs.cc }}
334
344
run : |
335
- make distclean && make ENABLE_EXT_M=0 check -j$(sysctl -n hw.logicalcpu)
336
- make distclean && make ENABLE_EXT_A=0 check -j$(sysctl -n hw.logicalcpu)
337
- make distclean && make ENABLE_EXT_F=0 check -j$(sysctl -n hw.logicalcpu)
338
- make distclean && make ENABLE_EXT_C=0 check -j$(sysctl -n hw.logicalcpu)
339
- make distclean && make ENABLE_SDL=0 check -j$(sysctl -n hw.logicalcpu)
340
- make distclean && make ENABLE_Zicsr=0 check -j$(sysctl -n hw.logicalcpu)
341
- make distclean && make ENABLE_MOP_FUSION=0 check -j$(sysctl -n hw.logicalcpu)
342
- make distclean && make ENABLE_BLOCK_CHAINING=0 check -j$(sysctl -n hw.logicalcpu)
343
- make distclean && make ENABLE_Zba=0 check -j$(sysctl -n hw.logicalcpu)
344
- make distclean && make ENABLE_Zbb=0 check -j$(sysctl -n hw.logicalcpu)
345
- make distclean && make ENABLE_Zbc=0 check -j$(sysctl -n hw.logicalcpu)
346
- make distclean && make ENABLE_Zbs=0 check -j$(sysctl -n hw.logicalcpu)
347
- make distclean && make ENABLE_Zifencei=0 check -j$(sysctl -n hw.logicalcpu)
345
+ make distclean && make ENABLE_EXT_M=0 check $PARALLEL
346
+ make distclean && make ENABLE_EXT_A=0 check $PARALLEL
347
+ make distclean && make ENABLE_EXT_F=0 check $PARALLEL
348
+ make distclean && make ENABLE_EXT_C=0 check $PARALLEL
349
+ make distclean && make ENABLE_SDL=0 check $PARALLEL
350
+ make distclean && make ENABLE_Zicsr=0 check $PARALLEL
351
+ make distclean && make ENABLE_MOP_FUSION=0 check $PARALLEL
352
+ make distclean && make ENABLE_BLOCK_CHAINING=0 check $PARALLEL
353
+ make distclean && make ENABLE_Zba=0 check $PARALLEL
354
+ make distclean && make ENABLE_Zbb=0 check $PARALLEL
355
+ make distclean && make ENABLE_Zbc=0 check $PARALLEL
356
+ make distclean && make ENABLE_Zbs=0 check $PARALLEL
357
+ make distclean && make ENABLE_Zifencei=0 check $PARALLEL
348
358
if : ${{ always() }}
349
359
- name : gdbstub test, need RV32 toolchain
350
360
env :
351
361
CC : ${{ steps.install_cc.outputs.cc }}
352
362
run : |
353
- make distclean && make ENABLE_GDBSTUB=1 gdbstub-test -j$(sysctl -n hw.logicalcpu)
363
+ make distclean && make ENABLE_GDBSTUB=1 gdbstub-test $PARALLEL
354
364
if : ${{ always() }}
355
365
- name : JIT test
356
366
env :
357
367
CC : ${{ steps.install_cc.outputs.cc }}
358
368
run : |
359
- make ENABLE_JIT=1 clean && make ENABLE_JIT=1 check -j$(sysctl -n hw.logicalcpu)
360
- make ENABLE_JIT=1 clean && make ENABLE_EXT_A=0 ENABLE_JIT=1 check -j$(sysctl -n hw.logicalcpu)
361
- make ENABLE_JIT=1 clean && make ENABLE_EXT_F=0 ENABLE_JIT=1 check -j$(sysctl -n hw.logicalcpu)
362
- make ENABLE_JIT=1 clean && make ENABLE_EXT_C=0 ENABLE_JIT=1 check -j$(sysctl -n hw.logicalcpu)
363
- make ENABLE_JIT=1 clean && make ENABLE_EXT_M=0 ENABLE_JIT=1 check -j$(sysctl -n hw.logicalcpu)
364
- make ENABLE_JIT=1 clean && make ENABLE_Zba=0 ENABLE_JIT=1 check -j$(sysctl -n hw.logicalcpu)
365
- make ENABLE_JIT=1 clean && make ENABLE_Zbb=0 ENABLE_JIT=1 check -j$(sysctl -n hw.logicalcpu)
366
- make ENABLE_JIT=1 clean && make ENABLE_Zbc=0 ENABLE_JIT=1 check -j$(sysctl -n hw.logicalcpu)
367
- make ENABLE_JIT=1 clean && make ENABLE_Zbs=0 ENABLE_JIT=1 check -j$(sysctl -n hw.logicalcpu)
368
- make ENABLE_JIT=1 clean && make ENABLE_Zicsr=0 ENABLE_JIT=1 check -j$(sysctl -n hw.logicalcpu)
369
- make ENABLE_JIT=1 clean && make ENABLE_Zifencei=0 ENABLE_JIT=1 check -j$(sysctl -n hw.logicalcpu)
370
- make ENABLE_JIT=1 clean && make ENABLE_MOP_FUSION=0 ENABLE_JIT=1 check -j$(sysctl -n hw.logicalcpu)
371
- make ENABLE_JIT=1 clean && make ENABLE_BLOCK_CHAINING=0 ENABLE_JIT=1 check -j$(sysctl -n hw.logicalcpu)
369
+ make ENABLE_JIT=1 clean && make ENABLE_JIT=1 check $PARALLEL
370
+ make ENABLE_JIT=1 clean && make ENABLE_EXT_A=0 ENABLE_JIT=1 check $PARALLEL
371
+ make ENABLE_JIT=1 clean && make ENABLE_EXT_F=0 ENABLE_JIT=1 check $PARALLEL
372
+ make ENABLE_JIT=1 clean && make ENABLE_EXT_C=0 ENABLE_JIT=1 check $PARALLEL
373
+ make ENABLE_JIT=1 clean && make ENABLE_EXT_M=0 ENABLE_JIT=1 check $PARALLEL
374
+ make ENABLE_JIT=1 clean && make ENABLE_Zba=0 ENABLE_JIT=1 check $PARALLEL
375
+ make ENABLE_JIT=1 clean && make ENABLE_Zbb=0 ENABLE_JIT=1 check $PARALLEL
376
+ make ENABLE_JIT=1 clean && make ENABLE_Zbc=0 ENABLE_JIT=1 check $PARALLEL
377
+ make ENABLE_JIT=1 clean && make ENABLE_Zbs=0 ENABLE_JIT=1 check $PARALLEL
378
+ make ENABLE_JIT=1 clean && make ENABLE_Zicsr=0 ENABLE_JIT=1 check $PARALLEL
379
+ make ENABLE_JIT=1 clean && make ENABLE_Zifencei=0 ENABLE_JIT=1 check $PARALLEL
380
+ make ENABLE_JIT=1 clean && make ENABLE_MOP_FUSION=0 ENABLE_JIT=1 check $PARALLEL
381
+ make ENABLE_JIT=1 clean && make ENABLE_BLOCK_CHAINING=0 ENABLE_JIT=1 check $PARALLEL
372
382
if : ${{ always() }}
373
383
- name : undefined behavior test
374
384
env :
375
385
CC : ${{ steps.install_cc.outputs.cc }}
376
386
if : ${{ env.CC == 'clang' && always() }} # gcc on macOS/arm64 does not support satinizers
377
387
run : |
378
- make distclean && make ENABLE_UBSAN=1 check -j$(sysctl -n hw.logicalcpu)
379
- make ENABLE_JIT=1 clean && make ENABLE_JIT=1 ENABLE_UBSAN=1 check -j$(sysctl -n hw.logicalcpu)
388
+ make distclean && make ENABLE_UBSAN=1 check $PARALLEL
389
+ make ENABLE_JIT=1 clean && make ENABLE_JIT=1 ENABLE_UBSAN=1 check $PARALLEL
380
390
- name : boot Linux kernel test
381
391
env :
382
392
CC : ${{ steps.install_cc.outputs.cc }}
383
393
run : |
384
- make distclean && make INITRD_SIZE=32 ENABLE_SYSTEM=1 -j$(sysctl -n hw.logicalcpu) && \
385
- make ENABLE_SYSTEM=1 artifact -j$(sysctl -n hw.logicalcpu)
394
+ make distclean && make INITRD_SIZE=32 ENABLE_SYSTEM=1 $PARALLEL && \
395
+ make ENABLE_SYSTEM=1 artifact $PARALLEL
386
396
.ci/boot-linux.sh
387
397
make ENABLE_SYSTEM=1 clean
388
398
if : ${{ always() }}
0 commit comments