icu/.github/workflows/icu_common.yml
Mihai Nita 7eb090f910
Some checks are pending
GHA ICU4C / icu4c-docs-build (push) Waiting to run
GHA ICU4C / gcc11-cpp20 (push) Waiting to run
GHA ICU4C / clang-release-build-and-test (push) Waiting to run
GHA ICU4C / clang-options-build-and-test (--enable-static --disable-shared) (push) Waiting to run
GHA ICU4C / clang-options-build-and-test (--enable-static) (push) Waiting to run
GHA ICU4C / gcc-10-stdlib17 (push) Waiting to run
GHA ICU4C / clang-asan (push) Waiting to run
GHA ICU4C / clang18-cpp20-warning-as-errors (-std=c++20 -stdlib=libc++) (push) Waiting to run
GHA ICU4C / clang18-cpp20-warning-as-errors (-std=c++20) (push) Waiting to run
GHA ICU4C / macos-clang (push) Waiting to run
CIFuzz / Fuzzing (address) (push) Waiting to run
CIFuzz / Fuzzing (undefined) (push) Waiting to run
GHA ICU4C / gcc-debug-build-and-test (push) Waiting to run
GHA ICU4C / clang-lsan (push) Waiting to run
GHA ICU4C / clang-ubsan (push) Waiting to run
GHA ICU4C / clang-cfi (push) Waiting to run
GHA ICU4C / clang-tsan (push) Waiting to run
GHA ICU4C / clang-datafilter (push) Waiting to run
GHA ICU4C / clang-cpp17 (push) Waiting to run
GHA ICU4C / u-charset-is-utf8-test (push) Waiting to run
GHA ICU4C / u-override-cxx-allocation-is-0-test (push) Waiting to run
GHA ICU4C / lstm-test (push) Waiting to run
GHA ICU4C / adaboost-test (push) Waiting to run
GHA ICU4C / testmap (push) Waiting to run
GHA ICU4C / copyright-scan (push) Waiting to run
GHA ICU4C / internal-header-compilation (push) Waiting to run
GHA ICU4C / valid-UTF-8-and-no-BOM-check (push) Waiting to run
GHA ICU4C / uconfig-unit-tests (-DUCONFIG_NO_BREAK_ITERATION=1) (push) Waiting to run
GHA ICU4C / uconfig-unit-tests (-DUCONFIG_NO_COLLATION=1) (push) Waiting to run
GHA ICU4C / uconfig-unit-tests (-DUCONFIG_NO_FILTERED_BREAK_ITERATION=1) (push) Waiting to run
GHA ICU4C / uconfig-unit-tests (-DUCONFIG_NO_FORMATTING=1) (push) Waiting to run
GHA ICU4C / uconfig-unit-tests (-DUCONFIG_NO_IDNA=1) (push) Waiting to run
GHA ICU4C / uconfig-unit-tests (-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_REGUL… (push) Waiting to run
GHA ICU4C / uconfig-unit-tests (-DUCONFIG_NO_LEGACY_CONVERSION=1) (push) Waiting to run
GHA ICU4C / uconfig-unit-tests (-DUCONFIG_NO_MF2=1) (push) Waiting to run
GHA ICU4C / clang-lang-with-extn-tags (push) Waiting to run
GHA ICU4C / windows-msvc (/p:Configuration=Debug /p:Platform=Win32, x86 Debug) (push) Waiting to run
GHA ICU4C / windows-msvc (/p:Configuration=Debug /p:Platform=x64, x64 Debug) (push) Waiting to run
GHA ICU4C / windows-msvc (/p:Configuration=Release /p:Platform=ARM, arm Release) (push) Waiting to run
GHA ICU4C / windows-msvc (/p:LanguageStandard=stdcpplatest /p:Configuration=Release /p:Platform=x64, x64 Release) (push) Waiting to run
GHA ICU4C / windows-msvc (/p:_HAS_EXCEPTIONS=0 /p:Configuration=Release /p:Platform=x64, x64 Release) (push) Waiting to run
GHA ICU4C / windows-msvc-datafilter (push) Waiting to run
GHA ICU4C / windows-msvc-dist-release (arm64, ARM64, WinARM64) (push) Waiting to run
GHA ICU4C / windows-msvc-dist-release (x64, x64, Win64) (push) Waiting to run
GHA ICU4C / windows-msvc-dist-release (x86, Win32, Win32) (push) Waiting to run
GHA ICU4C / windows-msys2-gcc-x86_64 (push) Waiting to run
GHA ICU4C / run-with-stubdata (push) Waiting to run
GHA ICU4C / uconfig-header-tests (-DUCONFIG_NO_TRANSLITERATION=1) (push) Waiting to run
GHA ICU4C / unicode-update-tools (push) Waiting to run
GHA ICU4C / icu4c-test-samples (push) Waiting to run
GHA ICU4C / icu4c-without-collation-rule-strings (push) Waiting to run
GHA ICU4C / icu4c-uconfig-no-conversion (push) Waiting to run
GHA ICU4C / icu4c-icuexportdata (push) Waiting to run
GHA ICU4J / icu4j-mvn-init-cache (push) Waiting to run
GHA ICU4J / icu4j-mvn-build-and-test (11) (push) Blocked by required conditions
GHA ICU4J / icu4j-mvn-build-and-test (17) (push) Blocked by required conditions
GHA ICU4J / icu4j-mvn-build-and-test (21) (push) Blocked by required conditions
GHA ICU4J / lstm-icu4j-build-and-test (push) Blocked by required conditions
ICU Common / icu4j-mvn-init-cache (push) Waiting to run
GHA ICU4C / uconfig-unit-tests (-DUCONFIG_NO_NORMALIZATION=1) (push) Waiting to run
GHA ICU4C / uconfig-unit-tests (-DUCONFIG_NO_REGULAR_EXPRESSIONS=1) (push) Waiting to run
GHA ICU4C / uconfig-unit-tests (-DUCONFIG_NO_SERVICE=1) (push) Waiting to run
GHA ICU4C / uconfig-unit-tests (-DUCONFIG_NO_TRANSLITERATION=1) (push) Waiting to run
GHA ICU4C / uconfig-header-tests (-DUCONFIG_NO_BREAK_ITERATION=1) (push) Waiting to run
GHA ICU4C / uconfig-header-tests (-DUCONFIG_NO_COLLATION=1) (push) Waiting to run
GHA ICU4C / uconfig-header-tests (-DUCONFIG_NO_FILTERED_BREAK_ITERATION=1) (push) Waiting to run
GHA ICU4C / uconfig-header-tests (-DUCONFIG_NO_FORMATTING=1) (push) Waiting to run
GHA ICU4C / uconfig-header-tests (-DUCONFIG_NO_IDNA=1) (push) Waiting to run
GHA ICU4C / uconfig-header-tests (-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_REG… (push) Waiting to run
GHA ICU4C / uconfig-header-tests (-DUCONFIG_NO_LEGACY_CONVERSION=1) (push) Waiting to run
GHA ICU4C / uconfig-header-tests (-DUCONFIG_NO_MF2=1) (push) Waiting to run
GHA ICU4C / uconfig-header-tests (-DUCONFIG_NO_NORMALIZATION=1) (push) Waiting to run
GHA ICU4C / uconfig-header-tests (-DUCONFIG_NO_REGULAR_EXPRESSIONS=1) (push) Waiting to run
GHA ICU4C / uconfig-header-tests (-DUCONFIG_NO_SERVICE=1) (push) Waiting to run
GHA ICU4J / adaboost-icu4j-build-and-test (push) Blocked by required conditions
ICU Common / copyright-scan (push) Waiting to run
ICU Common / valid-UTF-8-and-no-BOM-check (push) Waiting to run
GHA CI Valgrind / clang-valgrind-intltest (collator) (push) Waiting to run
GHA CI Valgrind / clang-valgrind-intltest (idna) (push) Waiting to run
GHA CI Valgrind / clang-valgrind-intltest (normalize) (push) Waiting to run
GHA CI Valgrind / clang-valgrind-intltest (rbbi) (push) Waiting to run
GHA CI Valgrind / clang-valgrind-intltest (rbnf) (push) Waiting to run
ICU Common / icu4c-release-tools (push) Blocked by required conditions
GHA ICU Docs / Test build of User Guide docs (push) Waiting to run
GHA CI Valgrind / clang-valgrind-test (push) Waiting to run
GHA CI Valgrind / clang-valgrind-intltest (bidi) (push) Waiting to run
GHA CI Valgrind / clang-valgrind-intltest (convert) (push) Waiting to run
GHA CI Valgrind / clang-valgrind-intltest (csdet) (push) Waiting to run
GHA CI Valgrind / clang-valgrind-intltest (format) (push) Waiting to run
GHA CI Valgrind / clang-valgrind-intltest (icuserv) (push) Waiting to run
GHA CI Valgrind / clang-valgrind-intltest (rbnfp) (push) Waiting to run
GHA CI Valgrind / clang-valgrind-intltest (rbnfrt) (push) Waiting to run
GHA CI Valgrind / clang-valgrind-intltest (regex) (push) Waiting to run
GHA CI Valgrind / clang-valgrind-intltest (spoof) (push) Waiting to run
GHA CI Valgrind / clang-valgrind-intltest (translit) (push) Waiting to run
GHA CI Valgrind / clang-valgrind-intltest (utility) (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
ICU-23072 Support from JDK 11 up, drop support for JDK 8
2025-03-31 23:48:16 -07:00

91 lines
3.1 KiB
YAML

# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html
#
# GitHub Action configuration script for ICU continuous integration tasks.
name: ICU Common
on:
push:
branches:
- main
- 'maint/maint*'
pull_request:
branches: '**'
workflow_dispatch:
# To trigger the Env Test workflow manually, follow the instructions in
# https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
# For non-release branches (namely: PRs), only run CI on the most recent commit. Cancel
# runs on previous commits mid-flight when new commits are pushed.
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-only-cancel-in-progress-jobs-on-specific-branches
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !contains(github.ref, 'maint/') && github.ref != 'main' }}
env:
SHARED_MVN_ARGS: '--show-version --no-transfer-progress'
permissions:
contents: read
jobs:
# Copyright scan
copyright-scan:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@v4
- run: perl tools/scripts/cpysearch/cpyscan.pl
# 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@v4
- run: tools/scripts/icu-file-utf8-check.py
# Initialize the Maven artifact cache
#
# This job is created according to the cache strategy of reuse from a single job:
# https://github.com/actions/cache/blob/main/caching-strategies.md#make-cache-read-only--reuse-cache-from-centralized-job
icu4j-mvn-init-cache:
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- name: Checkout and setup
uses: actions/checkout@v4
with:
lfs: true
- name: Checkout lfs objects
run: git lfs pull
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
# Download all of the artifacts needed for the code and build plugins, but
# exclude any needed by profiles depending on system artifacts
- name: Download all artifacts
run: |
cd icu4j;
mvn ${SHARED_MVN_ARGS} dependency:go-offline -P '!old_jdk_taglet'
# Verify icu4c release tools buildability.
icu4c-release-tools:
needs: icu4j-mvn-init-cache
runs-on: ubuntu-22.04 # Updated in BRS
steps:
- uses: actions/checkout@v4
- name: Restore read-only cache of local Maven repository
uses: actions/cache/restore@v4
id: cache
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- run: mvn ${SHARED_MVN_ARGS} -f tools/release/java/pom.xml package dependency:analyze