mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 15:42:14 +00:00
ICU-22532 Increase Github Actions CI parallelism from 2 to 4
This commit is contained in:
parent
ec800e7407
commit
3df505b511
5 changed files with 40 additions and 40 deletions
54
.github/workflows/icu4c.yml
vendored
54
.github/workflows/icu4c.yml
vendored
|
@ -61,7 +61,7 @@ jobs:
|
|||
mkdir build;
|
||||
cd build;
|
||||
../icu4c/source/runConfigureICU --enable-debug --disable-release Linux/gcc --prefix=$PREFIX --enable-tracing;
|
||||
make -j -l2.5 check;
|
||||
make -j -l4.5 check;
|
||||
( cd ../icu4c/source/test/depstest && ./depstest.py ../../../../build/ );
|
||||
make install;
|
||||
PATH=$PREFIX/bin:$PATH make -C test/hdrtst check
|
||||
|
@ -88,7 +88,7 @@ jobs:
|
|||
run: |
|
||||
cd icu4c/source;
|
||||
./runConfigureICU Linux;
|
||||
make -j -l2.5 check;
|
||||
make -j -l4.5 check;
|
||||
- name: Test Dependency
|
||||
run: |
|
||||
cd icu4c/source/test/depstest;
|
||||
|
@ -123,7 +123,7 @@ jobs:
|
|||
run: |
|
||||
cd icu4c/source;
|
||||
./runConfigureICU Linux ${{ matrix.build_option }};
|
||||
make -j -l2.5 tests;
|
||||
make -j -l4.5 tests;
|
||||
- name: Test
|
||||
run: |
|
||||
cd icu4c/source;
|
||||
|
@ -145,8 +145,8 @@ jobs:
|
|||
mkdir build;
|
||||
cd build;
|
||||
../icu4c/source/runConfigureICU Linux --disable-layout --disable-layoutex --prefix=$PREFIX;
|
||||
make -j -l2.5 check;
|
||||
make -j -l2.5 install;
|
||||
make -j -l4.5 check;
|
||||
make -j -l4.5 install;
|
||||
cd $PREFIX/bin;
|
||||
LD_LIBRARY_PATH=../lib ./icuinfo
|
||||
|
||||
|
@ -160,7 +160,7 @@ jobs:
|
|||
run: |
|
||||
cd icu4c/source;
|
||||
./runConfigureICU --enable-debug --disable-release Linux --disable-renaming --enable-tracing;
|
||||
make -j -l2.5 check;
|
||||
make -j -l4.5 check;
|
||||
env:
|
||||
CPPFLAGS: -fsanitize=address
|
||||
LDFLAGS: -fsanitize=address
|
||||
|
@ -174,7 +174,7 @@ jobs:
|
|||
run: |
|
||||
cd icu4c/source;
|
||||
./runConfigureICU --enable-debug --disable-release Linux --disable-renaming;
|
||||
make -j -l2.5 check;
|
||||
make -j -l4.5 check;
|
||||
env:
|
||||
CPPFLAGS: -fsanitize=undefined -fsanitize=alignment -fno-sanitize-recover=undefined,alignment
|
||||
CFLAGS: -fsanitize=undefined -fsanitize=alignment -fno-sanitize-recover=undefined,alignment
|
||||
|
@ -189,7 +189,7 @@ jobs:
|
|||
run: |
|
||||
cd icu4c/source;
|
||||
./runConfigureICU Linux --disable-renaming;
|
||||
make -j -l2.5 check;
|
||||
make -j -l4.5 check;
|
||||
env:
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
|
@ -208,9 +208,9 @@ jobs:
|
|||
run: |
|
||||
cd icu4c/source;
|
||||
./runConfigureICU --enable-debug --disable-release Linux --disable-renaming
|
||||
make -j -l2.5;
|
||||
make -j -l2.5 -C test;
|
||||
make -j -l2.5 -C test/intltest check
|
||||
make -j -l4.5;
|
||||
make -j -l4.5 -C test;
|
||||
make -j -l4.5 -C test/intltest check
|
||||
env:
|
||||
INTLTEST_OPTS: utility/MultithreadTest
|
||||
CPPFLAGS: -fsanitize=thread
|
||||
|
@ -226,7 +226,7 @@ jobs:
|
|||
run: |
|
||||
cd icu4c/source;
|
||||
PYTHON=python3 ./runConfigureICU MacOSX;
|
||||
make -j -l2.5 check
|
||||
make -j -l4.5 check
|
||||
|
||||
# Run ICU4C tests with stubdata.
|
||||
run-with-stubdata:
|
||||
|
@ -238,14 +238,14 @@ jobs:
|
|||
run: |
|
||||
cd icu4c/source;
|
||||
./runConfigureICU Linux;
|
||||
make -j -l2.5 check;
|
||||
make -j -l4.5 check;
|
||||
rm lib/libicudata.so*;
|
||||
cp -P stubdata/libicudata.so* lib;
|
||||
|
||||
cd test/cintltst;
|
||||
echo 'Running ICU4C cintltst with stubdata.';
|
||||
# Note: 'Elapsed Time: ' is printed by makefile upon final success.
|
||||
CINTLTST_OPTS=-w make -j -l2.5 check 2>&1 | tee stubdata_ctest.log;
|
||||
CINTLTST_OPTS=-w make -j -l4.5 check 2>&1 | tee stubdata_ctest.log;
|
||||
if ! grep 'Elapsed Time: ' stubdata_ctest.log
|
||||
then
|
||||
echo
|
||||
|
@ -259,7 +259,7 @@ jobs:
|
|||
|
||||
cd ../intltest;
|
||||
echo 'Running ICU4C intltest with stubdata.';
|
||||
INTLTEST_OPTS=-w make -j -l2.5 check 2>&1 | tee stubdata_intltest.log;
|
||||
INTLTEST_OPTS=-w make -j -l4.5 check 2>&1 | tee stubdata_intltest.log;
|
||||
if ! grep 'Elapsed Time: ' stubdata_intltest.log
|
||||
then
|
||||
echo
|
||||
|
@ -279,7 +279,7 @@ jobs:
|
|||
- run: |
|
||||
cd icu4c/source;
|
||||
./runConfigureICU Linux CPPFLAGS="-DU_CHARSET_IS_UTF8=1";
|
||||
make -j -l2.5 check
|
||||
make -j -l4.5 check
|
||||
|
||||
# Test U_OVERRIDE_CXX_ALLOCATION-is-0-test
|
||||
u-override-cxx-allocation-is-0-test:
|
||||
|
@ -290,7 +290,7 @@ jobs:
|
|||
cd icu4c/source;
|
||||
./runConfigureICU Linux CPPFLAGS="-DU_OVERRIDE_CXX_ALLOCATION=0";
|
||||
make clean;
|
||||
make -j -l2.5 check
|
||||
make -j -l4.5 check
|
||||
|
||||
# Test LSTM
|
||||
lstm-test:
|
||||
|
@ -301,7 +301,7 @@ jobs:
|
|||
cd icu4c/source;
|
||||
ICU_DATA_FILTER_FILE=../../.github/lstm_for_th_my.json ./runConfigureICU --enable-debug --disable-release Linux -disable-layoutex;
|
||||
make clean;
|
||||
make -j -l2.5 check
|
||||
make -j -l4.5 check
|
||||
|
||||
# Test adaboost
|
||||
adaboost-test:
|
||||
|
@ -312,7 +312,7 @@ jobs:
|
|||
cd icu4c/source;
|
||||
ICU_DATA_FILTER_FILE=../../.github/adaboost.json CPPFLAGS=-DUCONFIG_USE_ML_PHRASE_BREAKING=1 ./runConfigureICU --enable-debug --disable-release Linux -disable-layoutex;
|
||||
make clean;
|
||||
make -j -l2.5 check
|
||||
make -j -l4.5 check
|
||||
|
||||
# Build and run testmap
|
||||
testmap:
|
||||
|
@ -322,10 +322,10 @@ jobs:
|
|||
- run: |
|
||||
cd icu4c/source;
|
||||
./runConfigureICU Linux;
|
||||
make -j -l2.5 check;
|
||||
make -j -l4.5 check;
|
||||
CONFIG_FILES=test/testmap/Makefile ./config.status;
|
||||
cd test/testmap;
|
||||
make -j -l2.5 check | grep '*** PASS PASS PASS, test PASSED!!!!!!!!'
|
||||
make -j -l4.5 check | grep '*** PASS PASS PASS, test PASSED!!!!!!!!'
|
||||
|
||||
# Copyright scan
|
||||
copyright-scan:
|
||||
|
@ -392,7 +392,7 @@ jobs:
|
|||
run: |
|
||||
cd icu4c/source/;
|
||||
./runConfigureICU Linux;
|
||||
make -j -l2.5 tests;
|
||||
make -j -l4.5 tests;
|
||||
|
||||
# Run header tests with UCONFIG_NO_XXX variations.
|
||||
uconfig-header-tests:
|
||||
|
@ -436,7 +436,7 @@ jobs:
|
|||
cd icu4c/source/;
|
||||
mkdir /tmp/icu_cnfg;
|
||||
./runConfigureICU Linux --prefix=/tmp/icu_cnfg;
|
||||
make -j -l2.5 install;
|
||||
make -j -l4.5 install;
|
||||
- name: Test
|
||||
env:
|
||||
UCONFIG_NO: ${{ matrix.uconfig_cppflags }}
|
||||
|
@ -546,7 +546,7 @@ jobs:
|
|||
CINTLTST_OPTS: -w
|
||||
run: |
|
||||
cd icu4c/source
|
||||
make -j -l2.5 check
|
||||
make -j -l4.5 check
|
||||
|
||||
# https://unicode-org.github.io/icu/processes/release/tasks/healthy-code.html#test-uconfig_no_conversion
|
||||
icu4c-uconfig-no-conversion:
|
||||
|
@ -562,8 +562,8 @@ jobs:
|
|||
- name: Run make for stubdata, common, i18n
|
||||
run: |
|
||||
cd icu4c/source
|
||||
pushd stubdata && make -j -l2.5 && popd
|
||||
pushd stubdata && make -j -l4.5 && popd
|
||||
# Ensure lib directory for output object file exists
|
||||
mkdir -p lib
|
||||
pushd common && make -j -l2.5 && popd
|
||||
pushd i18n && make -j -l2.5 && popd
|
||||
pushd common && make -j -l4.5 && popd
|
||||
pushd i18n && make -j -l4.5 && popd
|
||||
|
|
4
.github/workflows/icu4j.yml
vendored
4
.github/workflows/icu4j.yml
vendored
|
@ -124,7 +124,7 @@ jobs:
|
|||
cd icu4c/source;
|
||||
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;
|
||||
make clean;
|
||||
make -j -l2.5 ICU4J_ROOT=../../../icu4j icu4j-data-install;
|
||||
make -j -l4.5 ICU4J_ROOT=../../../icu4j icu4j-data-install;
|
||||
cd ../..
|
||||
- name: ICU4J
|
||||
run: |
|
||||
|
@ -165,7 +165,7 @@ jobs:
|
|||
cd icu4c/source;
|
||||
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;
|
||||
make clean;
|
||||
make -j -l2.5 ICU4J_ROOT=../../../icu4j icu4j-data-install;
|
||||
make -j -l4.5 ICU4J_ROOT=../../../icu4j icu4j-data-install;
|
||||
cd ../..
|
||||
- name: ICU4J
|
||||
run: |
|
||||
|
|
8
.github/workflows/icu_envtest.yml
vendored
8
.github/workflows/icu_envtest.yml
vendored
|
@ -48,7 +48,7 @@ jobs:
|
|||
run: |
|
||||
cd icu4c/source/;
|
||||
./runConfigureICU Linux;
|
||||
make -j -l2.5 tests;
|
||||
make -j -l4.5 tests;
|
||||
- name: Test different locales as LC_ALL
|
||||
run: |
|
||||
echo "This job run the environment test of the following Locales";
|
||||
|
@ -65,7 +65,7 @@ jobs:
|
|||
for test_dir in iotest cintltst intltest
|
||||
do
|
||||
cd $test_dir;
|
||||
LC_ALL=$loc make -j -l2.5 check;
|
||||
LC_ALL=$loc make -j -l4.5 check;
|
||||
cd ..;
|
||||
done
|
||||
|
||||
|
@ -107,7 +107,7 @@ jobs:
|
|||
run: |
|
||||
cd icu4c/source/;
|
||||
./runConfigureICU Linux;
|
||||
make -j -l2.5 tests;
|
||||
make -j -l4.5 tests;
|
||||
- name: Test different locales as TZ
|
||||
run: |
|
||||
echo "This job run the environment test of the following TimeZones";
|
||||
|
@ -125,7 +125,7 @@ jobs:
|
|||
for test_dir in iotest cintltst intltest
|
||||
do
|
||||
cd $test_dir;
|
||||
TZ=$tz make -j -l2.5 check;
|
||||
TZ=$tz make -j -l4.5 check;
|
||||
cd ..;
|
||||
done
|
||||
|
||||
|
|
10
.github/workflows/icu_merge_ci.yml
vendored
10
.github/workflows/icu_merge_ci.yml
vendored
|
@ -79,7 +79,7 @@ jobs:
|
|||
run: |
|
||||
cd icu4c/source;
|
||||
ICU_DATA_BUILDTOOL_OPTS=--include_uni_core_data ./runConfigureICU Linux;
|
||||
make -j -l2.5 check;
|
||||
make -j -l4.5 check;
|
||||
mkdir /tmp/icu4j_data_test;
|
||||
cp -P data/out/tmp/icudt*l* /tmp/icu4j_data_test/
|
||||
cd ../../icu4j;
|
||||
|
@ -98,7 +98,7 @@ jobs:
|
|||
run: |
|
||||
cd icu4c/source;
|
||||
./runConfigureICU Linux;
|
||||
make -j -l2.5 all;
|
||||
make -j -l4.5 all;
|
||||
cd lib;
|
||||
cp -Ps ../tools/ctestfw/libicutest* .
|
||||
- name: Upload ICU libraries
|
||||
|
@ -146,7 +146,7 @@ jobs:
|
|||
run: |
|
||||
cd icu4c/source;
|
||||
./runConfigureICU Linux;
|
||||
(cd test/perf && make -j -l2.5 everything && mkdir -p results && mkdir -p results/${{ matrix.perf }})
|
||||
(cd test/perf && make -j -l4.5 everything && mkdir -p results && mkdir -p results/${{ matrix.perf }})
|
||||
LD_LIBRARY_PATH=lib ./test/perf/${{ matrix.perf }}/${{ matrix.perf }} ${{ matrix.flag }} -t 5 -p 10 ${{ matrix.file }} ${{ matrix.tests }} | tee test/perf/results/${{ matrix.perf }}/output.txt
|
||||
|
||||
- name: Store performance test results
|
||||
|
@ -222,7 +222,7 @@ jobs:
|
|||
run: |
|
||||
cd icu4c/source;
|
||||
./runConfigureICU Linux;
|
||||
(cd test/perf && make -j -l2.5 everything && mkdir -p results && mkdir -p results/${{ matrix.perf }} && mkdir -p results/${{ matrix.perf }}/${{ matrix.data }})
|
||||
(cd test/perf && make -j -l4.5 everything && mkdir -p results && mkdir -p results/${{ matrix.perf }} && mkdir -p results/${{ matrix.perf }}/${{ matrix.data }})
|
||||
LD_LIBRARY_PATH=lib ./test/perf/${{ matrix.perf }}/${{ matrix.perf }} ${{ matrix.flag }} -t 5 -p 10 -f $DATA_FILE_PATH/${{ matrix.data }}.txt ${{ matrix.tests }} | tee test/perf/results/${{ matrix.perf }}/${{ matrix.data }}/output.txt
|
||||
|
||||
- name: Store performance test results
|
||||
|
@ -287,7 +287,7 @@ jobs:
|
|||
run: |
|
||||
cd icu4c/source;
|
||||
./runConfigureICU Linux;
|
||||
(cd test/perf && make -j -l2.5 everything && mkdir -p results && mkdir -p results/strsrchperf && mkdir -p results/strsrchperf/${{ matrix.locale }})
|
||||
(cd test/perf && make -j -l4.5 everything && mkdir -p results && mkdir -p results/strsrchperf && mkdir -p results/strsrchperf/${{ matrix.locale }})
|
||||
LD_LIBRARY_PATH=lib ./test/perf/strsrchperf/strsrchperf -b Test_ICU_Forward_Search Test_ICU_Backward_Search -t 5 -p 10 -L ${{ matrix.locale }} -f $DATA_FILE_PATH/${{ matrix.data }}.txt | tee test/perf/results/strsrchperf/${{ matrix.locale }}/output.txt
|
||||
|
||||
- name: Store performance test results
|
||||
|
|
4
.github/workflows/icu_valgrind.yml
vendored
4
.github/workflows/icu_valgrind.yml
vendored
|
@ -40,7 +40,7 @@ jobs:
|
|||
CXXFLAGS: -gdwarf-4
|
||||
run: |
|
||||
cd icu4c/source;
|
||||
./runConfigureICU --enable-debug Linux --disable-renaming && make -j -l2.5 tests;
|
||||
./runConfigureICU --enable-debug Linux --disable-renaming && make -j -l4.5 tests;
|
||||
- name: Test iotest with valgrind
|
||||
run: |
|
||||
cd icu4c/source/test/iotest
|
||||
|
@ -85,7 +85,7 @@ jobs:
|
|||
CXXFLAGS: -gdwarf-4
|
||||
run: |
|
||||
cd icu4c/source;
|
||||
./runConfigureICU --enable-debug Linux --disable-renaming && make -j -l2.5 tests;
|
||||
./runConfigureICU --enable-debug Linux --disable-renaming && make -j -l4.5 tests;
|
||||
- name: Check all top path in intltest is covered
|
||||
run: |
|
||||
cd icu4c/source/test/intltest;
|
||||
|
|
Loading…
Add table
Reference in a new issue