Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 12 additions & 4 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
- '.github/workflows/**'
env:
ICU_MAJOR: '78'
ICU_MINOR: '1'
ICU_MINOR: '3'

jobs:
cache-icu:
Expand Down Expand Up @@ -88,21 +88,24 @@ jobs:
run: git lfs ls-files -l |cut -d' ' -f1 |sort >.git/lfs-hashes.txt

- name: Restore Git LFS object cache
# Cache the local LFS object store (all LFS-tracked paths in the repo), not just one
# smudged output directory, so objects outside that directory still get checked out below.
uses: actions/cache@v4
id: lfscache
with:
path: inflection/resources/org/unicode/inflection/dictionary
path: .git/lfs
key: ${{ runner.os }}-lfsdata-v1-${{ hashFiles('.git/lfs-hashes.txt') }}
restore-keys: |
${{ runner.os }}-lfsdata-v1-
${{ runner.os }}-lfsdata

- name: Fetch any needed Git LFS objects and prune extraneous ones
if: steps.lfscache.outputs.cache-hit != 'true'
run: git lfs fetch --prune

- name: Check out Git LFS content
if: steps.lfscache.outputs.cache-hit != 'true'
# Always run, even on a cache hit, so every LFS-tracked file gets smudged from the
# local object store. Skipping this on cache-hit previously left LFS files outside
# the cached path (e.g. tokenizer/*/tokenizer.dictionary) as unresolved pointer text.
run: git lfs checkout

- name: Check LFS restore the files or not after checkout
Expand Down Expand Up @@ -132,6 +135,11 @@ jobs:
echo "ICU_ROOT=$(brew --prefix icu4c)" >> $GITHUB_ENV
fi

- name: Install lld (Ubuntu)
# Linux Release builds link with -fuse-ld=lld to avoid gold-plugin LTO version mismatches.
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update && sudo apt-get install -y lld

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-ubuntu-distribution-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
env:
ICU_MAJOR: '78'
ICU_MINOR: '1'
ICU_MINOR: '3'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doxygen-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:

env:
ICU_MAJOR: '78'
ICU_MINOR: '1'
ICU_MINOR: '3'

jobs:
cache-icu:
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/ubuntu-memory-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
- 'inflection/**'
env:
ICU_MAJOR: '78'
ICU_MINOR: '1'
ICU_MINOR: '3'

jobs:
cache-icu:
Expand Down Expand Up @@ -68,21 +68,24 @@ jobs:
run: git lfs ls-files -l |cut -d' ' -f1 |sort >.git/lfs-hashes.txt

- name: Restore Git LFS object cache
# Cache the local LFS object store (all LFS-tracked paths in the repo), not just one
# smudged output directory, so objects outside that directory still get checked out below.
id: lfscache
uses: actions/cache@v4
with:
path: inflection/resources/org/unicode/inflection/dictionary
path: .git/lfs
key: ${{ runner.os }}-lfsdata-v1-${{ hashFiles('.git/lfs-hashes.txt') }}
restore-keys: |
${{ runner.os }}-lfsdata-v1-
${{ runner.os }}-lfsdata

- name: Fetch any needed Git LFS objects and prune extraneous ones
if: steps.lfscache.outputs.cache-hit != 'true'
run: git lfs fetch --prune

- name: Check out Git LFS content
if: steps.lfscache.outputs.cache-hit != 'true'
# Always run, even on a cache hit, so every LFS-tracked file gets smudged from the
# local object store. Skipping this on cache-hit previously left LFS files outside
# the cached path (e.g. tokenizer/*/tokenizer.dictionary) as unresolved pointer text.
run: git lfs checkout

- name: Check LFS restore the files or not after checkout
Expand Down
Loading
Loading