@@ -139,7 +139,7 @@ jobs:
139
139
cd icu4c/source;
140
140
ICU_DATA_BUILDTOOL_OPTS=--include_uni_core_data ICU_DATA_FILTER_FILE=../../.github/lstm_for_th_my.json ./runConfigureICU --enable-debug --disable-release Linux -disable-layoutex;
141
141
make clean;
142
- make -j ICU4J_ROOT=../../../icu4j icu4j-data-install;
142
+ make -j -l2.5 ICU4J_ROOT=../../../icu4j icu4j-data-install;
143
143
cd ../..
144
144
- name : ICU4J
145
145
run : |
@@ -171,7 +171,7 @@ jobs:
171
171
cd icu4c/source;
172
172
ICU_DATA_BUILDTOOL_OPTS=--include_uni_core_data ICU_DATA_FILTER_FILE=../../.github/adaboost.json CPPFLAGS=-DUCONFIG_USE_ML_PHRASE_BREAKING=1 ./runConfigureICU --enable-debug --disable-release Linux -disable-layoutex;
173
173
make clean;
174
- make -j ICU4J_ROOT=../../../icu4j icu4j-data-install;
174
+ make -j -l2.5 ICU4J_ROOT=../../../icu4j icu4j-data-install;
175
175
cd ../..
176
176
- name : ICU4J
177
177
run : |
@@ -205,7 +205,7 @@ jobs:
205
205
mkdir build;
206
206
cd build;
207
207
../icu4c/source/runConfigureICU --enable-debug --disable-release Linux/gcc --prefix=$PREFIX --enable-tracing;
208
- make -j check;
208
+ make -j -l2.5 check;
209
209
( cd ../icu4c/source/test/depstest && ./depstest.py ../../../../build/ );
210
210
make install;
211
211
PATH=$PREFIX/bin:$PATH make -C test/hdrtst check
@@ -232,7 +232,7 @@ jobs:
232
232
run : |
233
233
cd icu4c/source;
234
234
./runConfigureICU Linux;
235
- make -j check;
235
+ make -j -l2.5 check;
236
236
- name : Test Dependency
237
237
run : |
238
238
cd icu4c/source/test/depstest;
@@ -266,8 +266,8 @@ jobs:
266
266
mkdir build;
267
267
cd build;
268
268
../icu4c/source/runConfigureICU Linux --disable-layout --disable-layoutex --prefix=$PREFIX;
269
- make -j check;
270
- make -j install;
269
+ make -j -l2.5 check;
270
+ make -j -l2.5 install;
271
271
cd $PREFIX/bin;
272
272
LD_LIBRARY_PATH=../lib ./icuinfo
273
273
@@ -281,7 +281,7 @@ jobs:
281
281
run : |
282
282
cd icu4c/source;
283
283
./runConfigureICU --enable-debug --disable-release Linux --disable-renaming --enable-tracing;
284
- make -j check;
284
+ make -j -l2.5 check;
285
285
env :
286
286
CPPFLAGS : -fsanitize=address
287
287
LDFLAGS : -fsanitize=address
@@ -295,7 +295,7 @@ jobs:
295
295
run : |
296
296
cd icu4c/source;
297
297
./runConfigureICU --enable-debug --disable-release Linux --disable-renaming;
298
- make -j check;
298
+ make -j -l2.5 check;
299
299
env :
300
300
CPPFLAGS : -fsanitize=undefined -fsanitize=alignment -fno-sanitize-recover=undefined,alignment
301
301
CFLAGS : -fsanitize=undefined -fsanitize=alignment -fno-sanitize-recover=undefined,alignment
@@ -310,7 +310,7 @@ jobs:
310
310
run : |
311
311
cd icu4c/source;
312
312
./runConfigureICU Linux --disable-renaming;
313
- make -j check;
313
+ make -j -l2.5 check;
314
314
env :
315
315
CC : clang
316
316
CXX : clang++
@@ -329,9 +329,9 @@ jobs:
329
329
run : |
330
330
cd icu4c/source;
331
331
./runConfigureICU --enable-debug --disable-release Linux --disable-renaming
332
- make -j ;
333
- make -j -C test;
334
- make -j -C test/intltest check
332
+ make -j -l2.5 ;
333
+ make -j -l2.5 - C test;
334
+ make -j -l2.5 - C test/intltest check
335
335
env :
336
336
INTLTEST_OPTS : utility/MultithreadTest
337
337
CPPFLAGS : -fsanitize=thread
@@ -347,7 +347,7 @@ jobs:
347
347
run : |
348
348
cd icu4c/source;
349
349
PYTHON=python3 ./runConfigureICU MacOSX;
350
- make -j check
350
+ make -j -l2.5 check
351
351
352
352
# Run ICU4C tests with stubdata.
353
353
run-with-stubdata :
@@ -359,14 +359,14 @@ jobs:
359
359
run : |
360
360
cd icu4c/source;
361
361
./runConfigureICU Linux;
362
- make -j check;
362
+ make -j -l2.5 check;
363
363
rm lib/libicudata.so*;
364
364
cp -P stubdata/libicudata.so* lib;
365
365
366
366
cd test/cintltst;
367
367
echo 'Running ICU4C cintltst with stubdata.';
368
368
# Note: 'Elapsed Time: ' is printed by makefile upon final success.
369
- CINTLTST_OPTS=-w make -j check 2>&1 | tee stubdata_ctest.log;
369
+ CINTLTST_OPTS=-w make -j -l2.5 check 2>&1 | tee stubdata_ctest.log;
370
370
if ! grep 'Elapsed Time: ' stubdata_ctest.log
371
371
then
372
372
echo
@@ -380,7 +380,7 @@ jobs:
380
380
381
381
cd ../intltest;
382
382
echo 'Running ICU4C intltest with stubdata.';
383
- INTLTEST_OPTS=-w make -j check 2>&1 | tee stubdata_intltest.log;
383
+ INTLTEST_OPTS=-w make -j -l2.5 check 2>&1 | tee stubdata_intltest.log;
384
384
if ! grep 'Elapsed Time: ' stubdata_intltest.log
385
385
then
386
386
echo
@@ -400,7 +400,7 @@ jobs:
400
400
- run : |
401
401
cd icu4c/source;
402
402
./runConfigureICU Linux CPPFLAGS="-DU_CHARSET_IS_UTF8=1";
403
- make -j check
403
+ make -j -l2.5 check
404
404
405
405
# Test U_OVERRIDE_CXX_ALLOCATION-is-0-test
406
406
u-override-cxx-allocation-is-0-test :
@@ -411,7 +411,7 @@ jobs:
411
411
cd icu4c/source;
412
412
./runConfigureICU Linux CPPFLAGS="-DU_OVERRIDE_CXX_ALLOCATION=0";
413
413
make clean;
414
- make -j check
414
+ make -j -l2.5 check
415
415
416
416
# Test LSTM
417
417
lstm-test :
@@ -422,7 +422,7 @@ jobs:
422
422
cd icu4c/source;
423
423
ICU_DATA_FILTER_FILE=../../.github/lstm_for_th_my.json ./runConfigureICU --enable-debug --disable-release Linux -disable-layoutex;
424
424
make clean;
425
- make -j check
425
+ make -j -l2.5 check
426
426
427
427
# Test adaboost
428
428
adaboost-test :
@@ -433,7 +433,7 @@ jobs:
433
433
cd icu4c/source;
434
434
ICU_DATA_FILTER_FILE=../../.github/adaboost.json CPPFLAGS=-DUCONFIG_USE_ML_PHRASE_BREAKING=1 ./runConfigureICU --enable-debug --disable-release Linux -disable-layoutex;
435
435
make clean;
436
- make -j check
436
+ make -j -l2.5 check
437
437
438
438
# Build and run testmap
439
439
testmap :
@@ -443,10 +443,10 @@ jobs:
443
443
- run : |
444
444
cd icu4c/source;
445
445
./runConfigureICU Linux;
446
- make -j check;
446
+ make -j -l2.5 check;
447
447
CONFIG_FILES=test/testmap/Makefile ./config.status;
448
448
cd test/testmap;
449
- make -j check | grep '*** PASS PASS PASS, test PASSED!!!!!!!!'
449
+ make -j -l2.5 check | grep '*** PASS PASS PASS, test PASSED!!!!!!!!'
450
450
451
451
# Copyright scan
452
452
copyright-scan :
@@ -520,7 +520,7 @@ jobs:
520
520
run : |
521
521
cd icu4c/source/;
522
522
./runConfigureICU Linux;
523
- make -j tests;
523
+ make -j -l2.5 tests;
524
524
525
525
# Run header tests with UCONFIG_NO_XXX variations.
526
526
uconfig-header-tests :
@@ -564,7 +564,7 @@ jobs:
564
564
cd icu4c/source/;
565
565
mkdir /tmp/icu_cnfg;
566
566
./runConfigureICU Linux --prefix=/tmp/icu_cnfg;
567
- make -j install;
567
+ make -j -l2.5 install;
568
568
- name : Test
569
569
env :
570
570
UCONFIG_NO : ${{ matrix.uconfig_cppflags }}
@@ -674,7 +674,7 @@ jobs:
674
674
CINTLTST_OPTS : -w
675
675
run : |
676
676
cd icu4c/source
677
- make -j check
677
+ make -j -l2.5 check
678
678
679
679
# https://unicode-org.github.io/icu/processes/release/tasks/healthy-code.html#test-uconfig_no_conversion
680
680
icu4c-uconfig-no-version :
@@ -690,8 +690,8 @@ jobs:
690
690
- name : Run make for stubdata, common, i18n
691
691
run : |
692
692
cd icu4c/source
693
- pushd stubdata && make -j && popd
693
+ pushd stubdata && make -j -l2.5 && popd
694
694
# Ensure lib directory for output object file exists
695
695
mkdir -p lib
696
- pushd common && make -j && popd
697
- pushd i18n && make -j && popd
696
+ pushd common && make -j -l2.5 && popd
697
+ pushd i18n && make -j -l2.5 && popd
0 commit comments