Commit graph

76 commits

Author SHA1 Message Date
Elango Cheran
6a4ae3b95f ICU-22537 Fix CI checks to run with UCONFIG_NO_SERVICE
See #2667
2023-10-10 16:28:29 -07:00
Mihai Nita
76b9e089be ICU-22324 Mavenization, publish the root pom to Maven 2023-09-28 17:32:30 -07:00
Mihai Nita
7a0373411e ICU-22324 Mavenization, building the CLDR utilities 2023-09-27 11:01:06 -07:00
Elango Cheran
f14b24a845 ICU-22324 Allow single Maven cache creation and multiple read-only usage 2023-09-21 08:39:05 -07:00
Elango Cheran
832997c57e ICU-22325 Disable tests as workaround for failures following CI changes
See #2601
2023-09-15 09:46:23 -07:00
Mihai Nita
d501225db2 ICU-22477 Fix the performance tests after the maven folder changes 2023-08-31 19:38:20 -07:00
Elango Cheran
af8dc57a1d ICU-22423 Use hashes instead of version tags for GH Actions 2023-08-31 08:13:43 -07:00
Mihai Nita
b3d542392c ICU-22324 Mavenization, step 2, change github / azure workflows 2023-08-30 15:25:01 -07:00
Pedro Kaj Kjellerup Nacht
95f25839f4 ICU-22423 Add scorecard.yml
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
2023-08-30 15:11:50 -07:00
Pedro Kaj Kjellerup Nacht
281a2a77ec ICU-22350 Give maven.yml packages:write
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
2023-07-20 08:12:16 -07:00
Frank Tang
f1b13a850a ICU-22354 Revert benchmark-action changes
Revert the change of benchmark-action in
https://github.com/unicode-org/icu/pull/2428 which cause
post merge test brekage.

See https://github.com/unicode-org/icu/actions/runs/5393383252/jobs/9793048045
for the problem
2023-06-27 14:53:04 -07:00
Mohammed Keyvanzadeh
b575f7c8f5 ICU-22354 Update actions and platforms in GitHub Actions workflows 2023-06-27 11:32:57 -07:00
Frank Tang
e4eb997f41 ICU-22406 limit the configuration 2023-06-13 22:01:59 -07:00
Frank Tang
ded6244035 ICU-22406 Fix test breakage w/ --disabled-shared 2023-06-13 22:01:59 -07:00
Pedro Kaj Kjellerup Nacht
7a101d68ea ICU-22350 Fix broken performance CI
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
2023-06-13 16:41:39 -07:00
Pedro Kaj Kjellerup Nacht
2e3e49fed5 ICU-22350 Add minimal tokens to GitHub workflows
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
2023-06-06 10:32:26 -07:00
Norbert Runge
ba1c7006b7 ICU-22384 Limit execution of performance tests
Run the tests only on the main branch of the unicode-org/icu repository. This avoids diluting the performance charts with performance results from the maintenance branches. Also, the performance tests won't execute on forked directories anymore, on which they fail after execution anyway, thus using GitHub resources without purpose.
2023-05-11 23:02:31 -07:00
Fredrik Roubert
e1e1c5feaf ICU-22349 Use -l with make -j to limit jobs based on load average.
It has been proposed that make running too many parallel jobs recently
has led to resource exhaustion in our CI, so that some kind of limit
would be helpful to set.

The load average 2.5 limit choosen here is simply the limit used as an
example in the make documentation, as we don't really have any way of
picking an initial value that's certain to be better.

https://www.gnu.org/software/make/manual/html_node/Parallel.html

See #2421
See #2422
2023-05-11 00:50:59 +02:00
Shane F. Carr
62f493827f
ICU-22369 Merge maint/maint-73 into main (#2437) 2023-04-27 16:19:55 -07:00
Frank Tang
cbb25bb186 ICU-22349 Change to use just -j value in make to "not limit the number of jobs that can run simultaneously"
See #2422
2023-04-12 15:47:06 -07:00
Frank Tang
981c182a7f ICU-22297 Speed up valgrind tests
Remove the valgrind build in azure pipeline which is slow (about 50-75
mins to run) and replace with a set in github action that run 17
testing jobs in parallel to speed it up to about 25 mins the longest.
2023-04-05 16:42:32 -07:00
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