]> granicus.if.org Git - icu/commitdiff
ICU-21581 Creates a new workflow to be activated upon merge into main or
authorgnrunge <nrunge@google.com>
Mon, 27 Sep 2021 22:31:44 +0000 (15:31 -0700)
committerNorbert Runge <41129501+gnrunge@users.noreply.github.com>
Tue, 28 Sep 2021 22:50:44 +0000 (15:50 -0700)
maintenance branches only and adds GHA CI automation of BRS task 'Test ICU4J
with only little-endian ICU4C data', cf.:
https://unicode-org.github.io/icu/processes/release/tasks/integration.html#test-icu4j-with-only-little-endian-icu4c-data.

ICU-21581 Adds copyright notice and comment to new GHA script.

.github/workflows/icu_merge_ci.yml [new file with mode: 0644]

diff --git a/.github/workflows/icu_merge_ci.yml b/.github/workflows/icu_merge_ci.yml
new file mode 100644 (file)
index 0000000..cf3932c
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright (C) 2021 and later: Unicode, Inc. and others.
+# License & terms of use: http://www.unicode.org/copyright.html
+#
+# GitHub Action continuous integration script for ICU post-merge tasks.
+
+name: GHA ICU Merge CI
+
+on:
+  push:
+    branches:
+      - main   
+      - 'maint/maint*'
+
+jobs:
+
+  # Test ICU4J with little-endian ICU4C data only
+  icu4j-little-endian-data-test:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout and setup
+        uses: actions/checkout@v2
+        with:
+          lfs: true
+      - name: Checkout lfs objects
+        run: git lfs pull
+      - uses: actions/setup-java@v1
+        with:
+          java-version: '11'
+      - name: ICU4J little-endian
+        run: |
+          cd icu4c/source;
+          ICU_DATA_BUILDTOOL_OPTS=--include_uni_core_data ./runConfigureICU Linux;
+          make -j2 check;
+          mkdir /tmp/icu4j_data_test;
+          cp -P data/out/tmp/icudt*l* /tmp/icu4j_data_test/
+          cd ../../icu4j;
+          ant clean;
+          ant -Dicu4c.data.path=/tmp/icu4j_data_test check;