Commit graph

36 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
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 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
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
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
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
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
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
gnrunge
8078ae4937 ICU-21434 First version of a GitHub Action CI script. Contains selected CI targets
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.
2020-12-11 19:12:30 -08:00