From 65c1b9e6904569cbe452ba74b5ebf6652f68f3ef Mon Sep 17 00:00:00 2001 From: gnrunge Date: Tue, 2 Mar 2021 12:15:49 -0800 Subject: [PATCH] ICU-21323 Automates BRS testing tasks of U_CHARSET_IS_UTF8 and U_OVERRIDE_CXX_ALLOCATION=0. --- .github/workflows/icu_ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/icu_ci.yml b/.github/workflows/icu_ci.yml index 1bb143aaceb..3c31e051d77 100644 --- a/.github/workflows/icu_ci.yml +++ b/.github/workflows/icu_ci.yml @@ -191,6 +191,27 @@ jobs: echo 'Running ICU4C intltest with stubdata.'; INTLTEST_OPTS=-w make check 2>&1 | grep 'Elapsed Time: ' + # Test U_CHARSET_IS_UTF8 + u-charset-is-utf8-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: | + cd icu4c/source; + ./runConfigureICU Linux CPPFLAGS="-DU_CHARSET_IS_UTF8=1"; + make -j2 check + + # Test U_OVERRIDE_CXX_ALLOCATION-is-0-test + u-override-cxx-allocation-is-0-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: | + cd icu4c/source; + ./runConfigureICU Linux CPPFLAGS="-DU_OVERRIDE_CXX_ALLOCATION=0"; + make clean; + make -j2 check + # Copyright scan copyright-scan: runs-on: ubuntu-latest -- 2.40.0