Skip to content

Commit

Permalink
ICU-22220 Automate BRS tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
echeran authored and Squash Bot committed Feb 14, 2023
1 parent 288c4c7 commit ce50896
Showing 1 changed file with 54 additions and 1 deletion.
55 changes: 54 additions & 1 deletion .github/workflows/icu_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -573,4 +573,57 @@ jobs:
# To run all tests serially
echo "Run all samples"
pwd
PATH=$PATH:/tmp/icu_samples/bin LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/tmp/icu_samples/lib make check-samples-recursive
PATH=$PATH:/tmp/icu_samples/bin LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/tmp/icu_samples/lib make check-samples-recursive
# https://unicode-org.github.io/icu/processes/release/tasks/integration.html#verify-that-icu4c-tests-pass-without-collation-rule-strings
icu4c-without-collation-rule-strings:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install hjson dependency
run: |
sudo apt install python3-pip
pip3 install hjson
- name: Create data filter file to remove collation rule strings
run: |
cat > icu4c/coll-norules.hjson <<EOL
{
resourceFilters: [
{
categories: [
coll_tree
]
rules: [
-/UCARules
-/collations/*/Sequence
]
}
]
}
EOL
- name: Configure ICU4C with the data filter file
run: |
cd icu4c/source
ICU_DATA_FILTER_FILE=../coll-norules.hjson ./runConfigureICU Linux
- name: Run tests with data-errors-as-warnings
run: |
cd icu4c/source
INTLTEST_OPTS=-w CINTLTST_OPTS=-w make -j2 check
# https://unicode-org.github.io/icu/processes/release/tasks/healthy-code.html#test-uconfig_no_conversion
icu4c-uconfig-no-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set UCONFIG_NO_CONVERSION and configure ICU4C
run: |
cd icu4c/source
UCONFIG_NO_CONVERSION=1 ./runConfigureICU Linux
- name: Run make for stubdata, common, i18n
run: |
cd icu4c/source
pushd stubdata && make && popd
# Ensure lib directory for output object file exists
mkdir -p lib
pushd common && make && popd
pushd i18n && make && popd

0 comments on commit ce50896

Please sign in to comment.