Commit graph

55 commits

Author SHA1 Message Date
Elango Cheran
3867acf109 ICU-22330 build and test ICU4J with Java 17 2023-03-24 14:00:02 -07:00
Elango Cheran
06506023c5 ICU-22194 Add CI job to generate Github Pages using Github Actions 2023-03-15 20:00:06 -04:00
Frank Yung-Fong Tang
80414a247b ICU-22224 Enable UBSAN and fix breakage
See #2324
2023-02-27 17:31:49 -08:00
Elango Cheran
bd065d4704 ICU-22220 Automate BRS tasks
See #2318
2023-02-15 21:18:58 -05:00
Frank Tang
cb87c0893b ICU-22269 Parallelize uconfig* tests
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>
2023-02-15 16:52:14 -08:00
Frank Yung-Fong Tang
331172f0a3 ICU-22262 Automate environment test
See #2309
2023-02-15 15:24:19 -08:00
Frank Tang
638acd0c38 ICU-21374 Add a CFI build bot for ICU4C
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
2023-02-06 15:47:14 -08:00
Elango Cheran
a7f4531bfa ICU-12811 Fix localespi tests when run by Maven on Java 8
See #2283
2023-01-17 13:17:29 -08:00
Elango Cheran
1b292fa924 ICU-22233 Fix CI cache name for Bazel build 2023-01-17 10:50:47 -08:00
Elango Cheran
e7530bd9ff ICU-12811 Fix CI cache retain workflow's cron schedule string 2023-01-13 14:57:51 -08:00
Elango Cheran
2007e135f1 ICU-12811 Add CI workflow to retain caches that are flaky/costly to init
See #2281
2023-01-13 12:36:48 -08:00
Fredrik Roubert
dcac8ac4c1 ICU-22233 Use separate Bazel cache keys per OS. 2022-12-22 14:43:22 +09:00
allenwtsu
90caafbcd4 ICU-22100 Incorporate BudouX into ICU (Java)
See #2214
2022-12-20 14:27:04 -08:00
Fredrik Roubert
82115c060f ICU-22193 Make clang-release-build-and-test work with ubuntu-latest.
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.
2022-12-19 10:56:01 +09:00
Elango Cheran
f6353aeedc ICU-12811 Make CI jobs for Maven run serially to avoid CI cache race condition 2022-12-17 12:59:35 -05:00
Fredrik Roubert
2a6f06cb4c ICU-22193 Make run-with-stubdata work with ubuntu-latest.
It remains unknown when and why this changed, but nowadays the required
data files are to be found in a subdirectory named "build".
2022-12-16 10:06:32 +09:00
Elango Cheran
45e98d4f67 ICU-12811 Build ICU4J using Maven
See #2251
2022-12-15 00:48:31 +00:00
Elango Cheran
57c9313eb7 ICU-22193 Use Ubuntu 20.04 for jobs failing in migration to 22.04 2022-12-14 20:04:45 +00:00
Shuhei Iitsuka
b6b7b045e9 ICU-22100 Incorporate BudouX into ICU (C++) 2022-12-02 10:11:06 -08:00
Elango Cheran
6e3a923056 ICU-22116 Update CI job for ICU4J to use Java 8 instead of Java 7
See #2173
2022-09-06 09:09:22 -07:00
gnrunge
86166e0a2d ICU-22075 Adds a random waiting period (0 - 179 secs) to each test that runs as
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.
2022-07-22 08:14:58 -07:00
gnrunge
58060eafdc ICU-22036 Adds ICU4J date formatting performance test, which is last of the
ICU4J performance tests.
2022-06-29 12:02:29 -07:00
gnrunge
6df8bb7307 ICU-22036 Adds ICU4J performance tests to post-merge continuous integration
workflow. Also fixes a tiny oversight in the ICU4J performance framework.
2022-06-27 08:47:48 -07:00
gnrunge
8fcb22f88e ICU-22037 Adds performance tests for ICU forward and backward
string search.

ICU-22037 Removes a left-over escaped doublequote; removes a
test print-out.
2022-05-20 11:56:11 -07:00
gnrunge
f8a0810a5a ICU-22030 Modifies GHA CI performance testing so that existing files in the
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.
2022-05-13 17:00:05 -07:00
gnrunge
0f49e50868 ICU-21843 Increase performance alert threshold to 200% to avoid false alerts
from occasional spikes.
2022-03-17 09:31:53 -07:00
gnrunge
77e0c9e371 ICU-21900 Adjusts performance alert threshold to 150%, i.e. the alert only is
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.
2022-03-09 11:10:43 -08:00
gnrunge
80ee559205 ICU-21843 Add ICU4C performance tests to continuous integration
See #1987
2022-03-07 12:53:44 -08:00
Craig Cornelius
87e31395da ICU-21816 Add ICU4C samples check to workflow for BRS "Test C Samples"
See #2010
2022-03-02 09:25:52 -08:00
gnrunge
b9311e2f54 ICU-21649 Adds build and execution of Unicode update tools to GHA CI.
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.
2021-09-30 15:18:13 -07:00
gnrunge
7857d7424f ICU-21581 Creates a new workflow to be activated upon merge into main or
maintenance branches only and adds GHA CI automation of BRS task 'Test ICU4J
with only little-endian ICU4C data', cf.:
https://unicode-org.github.io/icu/processes/release/tasks/integration.html#test-icu4j-with-only-little-endian-icu4c-data.

ICU-21581 Adds copyright notice and comment to new GHA script.
2021-09-28 15:50:44 -07:00
gnrunge
4af7d969df ICU-21751 Improves failure reporting of the run-with-stubdata CI target and
also updates the instuctions how to reproduce a failur case.

ICU-21751 Review comments worked in.
2021-09-23 10:00:37 -07:00
Yoshito Umaoka
26c61c236c ICU-21038 Run ICU4J localespiCheck as a part of CI build
See #1797
2021-09-03 09:05:51 -04:00
Frank Yung-Fong Tang
a91cd6736e ICU-21569 Fix Java7 breakage in LSTM & add Java7 CI
See #1734
2021-05-27 16:11:51 -07:00
Frank Tang
1d7b003a4e ICU-21626 Add CIs to build/test Java 16. 2021-05-26 15:44:49 -07:00
Frank Yung-Fong Tang
2a72af07ac ICU-21569 LSTM Part 3 Add Java implementation
See #1706
2021-05-08 21:15:44 -07:00
Frank Tang
9a2177c575 ICU-21569 Add GA to test LSTM configuration
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.
2021-04-30 20:02:09 -07:00
Hugo van der Merwe
0ad4614a04 ICU-21508 Rename 'master' to 'main' in docs, maven files, scripts, etc
See #1664
2021-03-24 18:56:50 +01:00
Jeff Genovy
8c9c14e64c ICU-21542 Have GHA output ICU4J test failures if there are any. 2021-03-17 15:19:11 -07:00
gnrunge
22dace7f5f ICU-21323 Automates the uconfig variation BRS tasks. The test
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.
2021-03-11 16:25:33 -08:00
gnrunge
90631ab807 ICU-21323 Automates BRS test task of build and run testmap.
ICU-21323 Removes compiler flag.
2021-03-05 11:01:42 -08:00
gnrunge
65c1b9e690 ICU-21323 Automates BRS testing tasks of U_CHARSET_IS_UTF8 and
U_OVERRIDE_CXX_ALLOCATION=0.
2021-03-03 11:45:02 -08:00
Jeff Genovy
1fa3419812 ICU-21480 Update GitHub pull request template to prevent autolinking example ticket number. 2021-03-02 17:17:21 -08:00
gnrunge
735645589e ICU-21323 Adds BRS task 'test ICU4C without data' to GHA, triggered by
each pull request. This test has a high catch rate.

ICU-21323 Work in review feedback.
2021-02-26 14:19:01 -08:00
Jeff Genovy
f23bd25ef5 ICU-21480 Update GitHub pull request template: JIRA issue number is needed on commit messages. 2021-02-24 17:13:17 -08:00
Jeff Genovy
56b4630ada ICU-21473 Enable GHA CI on maint/maint* branches 2021-01-27 18:20:52 -08:00
gnrunge
38125f3c50 ICU-21450 Migrates ICU4C document build with doxygen from Travis CI to GHA CI. 2021-01-25 14:18:15 -08:00
gnrunge
e5a3f2baa7 ICU-21450 Add builds for MacOS and with extra warnings to GHA CI.
ICU-21450 Fix indent.

ICU-21450 Factor in review comments.
2021-01-21 16:05:13 -08:00
gnrunge
c7ea02fcca ICU-21450 Add asan check, tsan check, gcc debug build and test, gcc 8 build and
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.
2021-01-20 08:44:43 -08:00
Steven R. Loomis
8d2360ae6e ICU-13837 c build: make --disable-layoutex the default
- update GitHub workflow / Azure pipeline to no longer specify layoutex

Also:
- update configure.ac that was missed in #1265 cad3903cc2 ICU-21051
- some FALSE/TRUE were missed in source/test/letest
2020-12-15 10:35:59 -06:00