ICU-22922 update collation demo list of tailorings #75
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build ICU4C Demos | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
# "fail-fast: false" let other jobs keep running even if the test break in some locales. | |
fail-fast: false | |
matrix: | |
# Build with 3 configuration: the icu in the system, the latest rc and the latest release. | |
# Bump the verion after each release is out. | |
icu_path: | |
- system | |
- https://github.com/unicode-org/icu/releases/download/release-73-rc/icu4c-73rc-src.tgz | |
- https://github.com/unicode-org/icu/releases/download/release-73-2/icu4c-73_2-src.tgz | |
steps: | |
- uses: actions/checkout@v2 | |
# ccache? | |
- name: Cache apk | |
uses: actions/cache@v2 | |
with: | |
path: ~/.apk | |
key: apk | |
restore-keys: apk | |
- name: Build iucsamples4c with docker | |
run: | | |
cd iucsamples/c && docker run --rm -v $HOME/.apk:/etc/apk/cache -v $(pwd)/:/usr/src -w /usr/src alpine:edge sh -c "apk --update add gcc make g++ bsd-compat-headers pkgconfig icu-dev && make all check" | |
- name: Build icudemos with docker | |
# https://github.com/FrankYFTang/icu-demos/blob/main/icu-kube/build.sh | |
run: | | |
set +x; | |
exec docker build -t unicode/icu4c-demos:latest --build-arg ICU_PATH=${{matrix.icu_path}} . -f icu-kube/docker.d/icu4c-demos/Dockerfile | |
# TODO: non-docker build? |