1. Shorten job name uconfig_variation-check-unit-tests to uconfig-unit-tests
2. Shorten job name uconfig_variation-check-all-header-tests to uconfig-header-tests
3. use 11 jobs to run each of them in parallel to reduce the ~1hrs run to about 6-8 mins
Co-authored-by: Markus Scherer <markus.icu@gmail.com>
Add the github action bot to build with cfi
Also fix all the known issues which require the change from C style cast to
static_cast inside the i18n and common directory while we are sure about
the object. and use
C++ style dynamic_cast for base-to-derive cast in other code inside i18n
and common and in test code or tool.
Change to use const_cast for casting between const / non-const
Contemporary implementations of the C++ standard library also use the
@deprecated annotation in its header files and these then get included
by the preprocessor when preprocessing the ICU header files, like this:
/// @deprecated Non-standard. Use `is_null_pointer` instead.
In order to work as expected, testtagsguards.sh must therefore be
updated to ignore @deprecated annotations unless they're for ICU.
part of a high concurrency performance test setup. This will disperse commits
of performance test results into the data branch over a wider time frame and
drastically reduces the chance of data uploads failing after ten unsuccesful
commit attempts.
Test runs showed a huge drop in failed commits/retry, from a high of 113
without wait down to only 4 with the extra wait.
ICU-22075 Add comment explaining the rationale of the random
sleep period prior to test execution.
performance results publishing repository are no longer deleted when the test
results are forwarded. This concretely affects the README file in the icu-perf
repository, which got deleted with the first data transfer.
Restoring the README file in icu-perf will be a complementary PR.
triggered if the current measured execution time is 50% higher than the previous
time.
The current setting of 100% means that even a 1% increase from previous time
triggers the alert already.
Checks that the build process completes without failure and that the
generated data is identical with the data currently in the repository.
ICU-21649 Fix trigger mechanism.
1. Add GA to test BreakIterator under LSTM configuration (remove Thai
and Burmese dictionary and include Thai and Burmese LSTM)
2. Add LSTMDataName for the purpose of testing.
3. Add file base test code to test BreakIterator match results from test
file generated by pythong code in
https://github.com/unicode-org/lstm_word_segmentation/blob/master/segment_text.py
4. Fix a LSTMBreakEngine::divideUpDictionaryRange bug when the return value
should only contains the number of words found when the passed in foundBreaks
already contains some data.
5. Change the cintltest TestSwapData from testing thaidict to laodict so
it will not break while we filter out thaidict under the LSTM
configuration.
subsequently sets each of the UCONFIG_NO_XXX flags to '1' (exceptions apply)
and runs the ICU4C unit tests and the header test. Afterwards all
UCONFIG_NO_XXX flags are set to '1' and unit tests and header test
are executed.
To allow concurrent execution and reduce total run time, the script provides
the option to execute only the unit tests or only the header test.
ICU-21323 Split the uconfig.h variation test into two to reduce
execution time. One test now tests the variations with unit tests, the
other tests with header test.
Execution time now ranges between 45 and 58 minutes.
ICU-21323 Works in review comments.
ICU-21323 Factors in more review comments.
test, and ICU4C release tools buildability check GitHub Action Continuous Integration.
ICU-21450 Minor fixes from review comments.
ICU-21450 One line break was missing.
- update GitHub workflow / Azure pipeline to no longer specify layoutex
Also:
- update configure.ac that was missed in #1265cad3903cc2 ICU-21051
- some FALSE/TRUE were missed in source/test/letest
migrated from Travis CI.
ICU-21434 Shorten the GitHub Action name to ICU CI only to leave more space on the dashboard.
ICU-21434 Review comments: better name, and one line turned out to be a no-op.
ICU-21434 Fix Java JDK version setting.
ICU-21434 Sort out Java version setting.
ICU-21434 Adds an entry to icu4c/source/test/depstest/dependencies.txt to fix depstest
and enable depstest.
- on a release (created from Github), publish to
<https://github.com/unicode-org/icu/packages> as
1. icu4j-for-cldr
2. utilities-for-cldr
- also fix a doc bug in DecimalFormat
- this is intended for CLDR use.
- a tag such as 'cldr/2019-09-15' will turn into a
maven version '68.1-SNAPSHOT-cldr-2019-09-15'