Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/brs-commit-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
commit-report:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
fetch-tags: true
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cache_retain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
if: github.ref == 'refs/heads/main' && github.repository == 'unicode-org/unicodetools'
steps:
- name: Checkout and setup
uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
with:
distribution: 'temurin'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cifuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
path: ./out/artifacts
- name: Upload Sarif
if: always() && steps.build.outcome == 'success'
uses: github/codeql-action/[email protected].2
uses: github/codeql-action/[email protected].6
with:
# Path to SARIF file relative to the root of the repository
sarif_file: cifuzz-sarif/results.sarif
Expand Down
72 changes: 36 additions & 36 deletions .github/workflows/icu4c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
icu4c-docs-build:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1

- name: ICU4C doc
run: |
Expand All @@ -70,7 +70,7 @@ jobs:
gcc-debug-build-and-test:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1

- name: ICU4C with gcc
env:
Expand All @@ -97,7 +97,7 @@ jobs:
- '-std=c++20'
- '-std=c++23'
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- name: Install GCC-14
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
Expand All @@ -122,7 +122,7 @@ jobs:
clang-release-build-and-test:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1

- name: Install doxygen
run: |
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
# --disable-shared has a build problem.
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1

- name: Build ICU4C with clang
run: |
Expand All @@ -186,7 +186,7 @@ jobs:
gcc-10-stdlib17:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1

- name: ICU4C with gcc 10 and c++17 and extra warnings.
env:
Expand All @@ -207,7 +207,7 @@ jobs:
clang-asan:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1

- name: ICU4C with clang and asan
run: |
Expand All @@ -221,7 +221,7 @@ jobs:
clang-lsan:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1

- name: ICU4C with clang and lsan
run: |
Expand All @@ -236,7 +236,7 @@ jobs:
clang-ubsan:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1

- name: ICU4C with clang and ubsan +alignment
run: |
Expand All @@ -251,7 +251,7 @@ jobs:
clang-cfi:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1

- name: ICU4C with clang using CFI
run: |
Expand All @@ -270,7 +270,7 @@ jobs:
clang-tsan:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1

- name: ICU4C with clang and tsan
run: |
Expand All @@ -292,7 +292,7 @@ jobs:
clang-datafilter:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- name: Extract ICU version
run: |
# Extract ICU version from icuver.txt
Expand All @@ -314,7 +314,7 @@ jobs:
clang-cpp17:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- name: Build ICU4C with CPP 17
env:
CXXFLAGS: -std=c++17 -Winvalid-constexpr
Expand All @@ -325,7 +325,7 @@ jobs:
clang-lang-with-extn-tags:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- name: Linux Clang - LANG has extension tags
env:
LANG: "en_US@calendar=gregorian;hours=h12"
Expand Down Expand Up @@ -354,7 +354,7 @@ jobs:
- clang-version: '18'
flags: '-std=c++20 -stdlib=libc++'
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- name: Install Modern Clang
env:
CLANG_VERSION: ${{ matrix.clang-version }}
Expand All @@ -375,7 +375,7 @@ jobs:
macos-clang:
runs-on: macos-15 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- name: ICU4C with clang on MacOS
env:
CPPFLAGS: '-Wall -Wextra -Wextra-semi -Wundef -Wnon-virtual-dtor -Wctad-maybe-unsupported -Wglobal-constructors -Wexit-time-destructors -Werror'
Expand All @@ -402,7 +402,7 @@ jobs:
- test_flags: 'x64 Release'
build_flags: '/p:Configuration=Release /p:Platform=x64'
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- name: Set up MSBuild
uses: microsoft/setup-msbuild@v2
- name: Build Solution x64
Expand All @@ -421,7 +421,7 @@ jobs:
runs-on: windows-2022 # Updated in BRS
timeout-minutes: 30
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- name: Set ICU_DATA_FILTER_FILE variable
run: |
$filterPath = "${{ github.workspace }}\.github\data-filter.json"
Expand Down Expand Up @@ -452,7 +452,7 @@ jobs:
plat: 'ARM64'
win_ver: 'WinARM64'
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- name: Set up MSBuild
uses: microsoft/setup-msbuild@v2
- name: Build Solution x64
Expand Down Expand Up @@ -503,7 +503,7 @@ jobs:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- name: Set up MSYS2
uses: msys2/setup-msys2@v2
id: msys2
Expand Down Expand Up @@ -536,7 +536,7 @@ jobs:
run-with-stubdata:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1

- name: ICU4C tests with stubdata
run: |
Expand Down Expand Up @@ -579,7 +579,7 @@ jobs:
u-charset-is-utf8-test:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- run: |
cd icu4c/source;
./runConfigureICU Linux CPPFLAGS="-DU_CHARSET_IS_UTF8=1";
Expand All @@ -589,7 +589,7 @@ jobs:
u-override-cxx-allocation-is-0-test:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- run: |
cd icu4c/source;
./runConfigureICU Linux CPPFLAGS="-DU_OVERRIDE_CXX_ALLOCATION=0";
Expand All @@ -600,7 +600,7 @@ jobs:
lstm-test:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- run: |
cd icu4c/source;
ICU_DATA_FILTER_FILE=../../.github/lstm_for_th_my.json ./runConfigureICU --enable-debug --disable-release Linux -disable-layoutex;
Expand All @@ -611,7 +611,7 @@ jobs:
adaboost-test:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- run: |
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;
Expand All @@ -622,7 +622,7 @@ jobs:
testmap:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- run: |
cd icu4c/source;
./runConfigureICU Linux;
Expand All @@ -635,21 +635,21 @@ jobs:
copyright-scan:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- run: perl tools/scripts/cpysearch/cpyscan.pl

# Check compilation of internal headers.
internal-header-compilation:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- run: cd icu4c/source; test/hdrtst/testinternalheaders.sh

# Check source files for valid UTF-8 and for absence of BOM.
valid-UTF-8-and-no-BOM-check:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- run: tools/scripts/icu-file-utf8-check.py

# Run unit tests with UCONFIG_NO_XXX variations.
Expand Down Expand Up @@ -678,7 +678,7 @@ jobs:
- "-DUCONFIG_NO_LEGACY_CONVERSION=1 -DUCONFIG_NO_NORMALIZATION=1 -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_IDNA=1 -DUCONFIG_NO_COLLATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_MF2=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DUCONFIG_NO_SERVICE=1 -DUCONFIG_NO_FILTERED_BREAK_ITERATION=1"
steps:
- name: Checkout
uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- name: Verify no additional new UCONFIG_NO_xxx added
run: |
# Test that we have exactly 13 "#ifndef UCONFIG_NO_" in uconfig.h. If the number changes, we need to also
Expand Down Expand Up @@ -725,7 +725,7 @@ jobs:
- "-DUCONFIG_NO_LEGACY_CONVERSION=1 -DUCONFIG_NO_NORMALIZATION=1 -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_IDNA=1 -DUCONFIG_NO_COLLATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_MF2=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DUCONFIG_NO_SERVICE=1 -DUCONFIG_NO_FILTERED_BREAK_ITERATION=1"
steps:
- name: Checkout
uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- name: Verify no additional new UCONFIG_NO_xxx added
run: |
# Test that we have exactly 13 "#ifndef UCONFIG_NO_" in uconfig.h. If the number changes, we need to also
Expand Down Expand Up @@ -754,7 +754,7 @@ jobs:
unicode-update-tools:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- uses: bazel-contrib/[email protected]
- name: Get CI Linux runner VM version
id: linux-version
Expand Down Expand Up @@ -793,7 +793,7 @@ jobs:
icu4c-test-samples:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1

- name: ICU4C configure and build
run: |
Expand All @@ -818,7 +818,7 @@ jobs:
icu4c-without-collation-rule-strings:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- name: Install hjson dependency
run: |
sudo apt-get install python3-pip
Expand Down Expand Up @@ -858,7 +858,7 @@ jobs:
icu4c-uconfig-no-conversion:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- name: Set UCONFIG_NO_CONVERSION and configure ICU4C
env:
UCONFIG_NO_CONVERSION: 1
Expand All @@ -881,7 +881,7 @@ jobs:
contents: write # So that we can upload to release
timeout-minutes: 30
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1
- name: Build
run: |
cd icu4c/source && ./runConfigureICU Linux && make -j -l4.5
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/icu4j.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- name: Checkout and setup
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Cache local Maven repository
uses: actions/cache@v4
with:
Expand All @@ -74,7 +74,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout and setup
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0 # fetch all branches so that Spotless can resolve `origin/main`
- name: Restore read-only cache of local Maven repository
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- name: Checkout and setup
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Restore read-only cache of local Maven repository
uses: actions/cache/restore@v4
id: cache
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- name: Checkout and setup
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Restore read-only cache of local Maven repository
uses: actions/cache/restore@v4
id: cache
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- name: Checkout and setup
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Restore read-only cache of local Maven repository
uses: actions/cache/restore@v4
id: cache
Expand Down
Loading