Skip to content

Commit

Permalink
ICU-22061 rename
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbastian authored and sffc committed Jun 29, 2022
1 parent ea97010 commit 6cb4fd5
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 36 deletions.
75 changes: 41 additions & 34 deletions .ci-builds/.azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -601,45 +601,52 @@ jobs:
CC: clang
CXX: clang++
- script: |
mkdir -p icu4c/source/icuexportdata_uprops_full/fast
mkdir -p icu4c/source/icuexportdata_uprops_full/small
cd icu4c/source
LD_LIBRARY_PATH=lib ./bin/icuexportdata --mode uprops --index --copyright --verbose --destdir icuexportdata_uprops_full/fast --trie-type fast --all
LD_LIBRARY_PATH=lib ./bin/icuexportdata --mode uprops --index --copyright --verbose --destdir icuexportdata_uprops_full/small --trie-type small --all
LD_LIBRARY_PATH=lib ./bin/icuexportdata --mode norm --copyright --verbose --destdir icuexportdata_uprops_full/fast --trie-type fast --all
LD_LIBRARY_PATH=lib ./bin/icuexportdata --mode norm --copyright --verbose --destdir icuexportdata_uprops_full/small --trie-type small --all
displayName: 'Build Unicode property data export file (Full)'
# In the sample file, include:
# - Basic binary properties: AHex WSpace
# - Property of strings: Basic_Emoji
# - POSIX binary property: blank
# - Enumerated properties: gc nt sc
mkdir -p icuexportdata/uprops/fast
./bin/icuexportdata --mode uprops --index --copyright --verbose --destdir icuexportdata/uprops/fast --trie-type fast --all
mkdir -p icuexportdata/uprops/small
./bin/icuexportdata --mode uprops --index --copyright --verbose --destdir icuexportdata/uprops/small --trie-type small --all
displayName: 'Build property data export files'
env:
LD_LIBRARY_PATH: lib
- script: |
mkdir -p icu4c/source/icuexportdata_uprops_sample/fast
mkdir -p icu4c/source/icuexportdata_uprops_sample/small
cd icu4c/source
LD_LIBRARY_PATH=lib ./bin/icuexportdata --mode uprops --index --copyright --verbose --destdir icuexportdata_uprops_sample/fast --trie-type fast AHex gc nt Basic_Emoji sc WSpace blank
LD_LIBRARY_PATH=lib ./bin/icuexportdata --mode uprops --index --copyright --verbose --destdir icuexportdata_uprops_sample/small --trie-type small AHex gc nt Basic_Emoji sc WSpace blank
displayName: 'Build Unicode property data export file (Sample)'
mkdir -p icuexportdata/norm/fast
./bin/icuexportdata --mode norm --index --copyright --verbose --destdir icuexportdata/norm/fast --trie-type fast --all
mkdir -p icuexportdata/norm/small
./bin/icuexportdata --mode norm --index --copyright --verbose --destdir icuexportdata/norm/small --trie-type small --all
displayName: 'Build normalization data export files'
env:
LD_LIBRARY_PATH: lib
- script: |
mkdir -p icu4c/source/icuexportdata_uprops_full/collation_unihan
mkdir -p icu4c/source/icuexportdata_uprops_full/collation_implicithan
cd icu4c/source
cd data/coll
FILES=`echo *.txt`
cd -
LD_LIBRARY_PATH=lib ./bin/genrb -X -s data/coll/ -d icuexportdata_uprops_full/collation_unihan --ucadata data/in/coll/ucadata-unihan-icu4x.icu $FILES
LD_LIBRARY_PATH=lib ./bin/genrb -X -s data/coll/ -d icuexportdata_uprops_full/collation_implicithan --ucadata data/in/coll/ucadata-implicithan-icu4x.icu $FILES
rm icuexportdata_uprops_full/collation_unihan/*.res
rm icuexportdata_uprops_full/collation_implicithan/*.res
displayName: 'Build collation data export file'
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: icuexportdata_uprops_full'
mkdir -p icuexportdata/ucase/fast
./bin/icuexportdata --mode ucase --index --copyright --verbose --destdir icuexportdata/ucase/fast --trie-type fast --all
mkdir -p icuexportdata/ucase/small
./bin/icuexportdata --mode ucase --index --copyright --verbose --destdir icuexportdata/ucase/small --trie-type small --all
displayName: 'Build case data export files'
env:
LD_LIBRARY_PATH: lib
- script: |
cd icu4c/source
FILES=`ls data/coll "*.txt"`
mkdir -p icuexportdata/collation/unihan
./bin/genrb -X -s data/coll/ --ucadata data/in/coll/ucadata-unihan-icu4x.icu -d icuexportdata/collation/unihan $FILES
rm icuexportdata/collation/unihan/*.res
mkdir -p icuexportdata/collation/implicithan
./bin/genrb -X -s data/coll/ --ucadata data/in/coll/ucadata-implicithan-icu4x.icu -d icuexportdata/collation/implicithan $FILES
rm icuexportdata/collation/implicithan/*.res
displayName: 'Build collation data export files'
env:
LD_LIBRARY_PATH: lib
- task: ArchiveFiles@2
displayName: 'Zip'
inputs:
PathtoPublish: 'icu4c/source/icuexportdata_uprops_full'
ArtifactName: 'icuexportdata_uprops_full'
rootFolderOrFile: 'icu4c/source/icuexportdata'
includeRootFolder: false
archiveFile: 'icuexportdata_tag-goes-here.zip'
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: icuexportdata_uprops_sample'
displayName: 'Publish Artifact'
inputs:
PathtoPublish: 'icu4c/source/icuexportdata_uprops_sample'
ArtifactName: 'icuexportdata_uprops_sample'
PathtoPublish: 'icuexportdata_tag-goes-here.zip'
ArtifactName: 'icuexportdata_output'
5 changes: 3 additions & 2 deletions docs/processes/release/tasks/publish/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,9 @@ run \`make dist\`.
This step publishes pre-processed Unicode property data, which may be ingested by downstream clients such as ICU4X.
* Using the output from the build bots:
* Navigate to the Azure Pipelines artifacts as described in the previous section
* Download the files named *icuexportdata_uprops_full.zip* and *icuexportdata_uprops_sample.zip*
* Navigate to the Azure Pipeline `C: Create Artifacts from icuexportdata` and download its single artifact (`icuexportdata_output`)
* Unzip the file
* Rename the `icuexportdata_tag-goes-here.zip` file to the correct tag (replacing slashes with dashes)
### Signing archives and creating checksums:
Expand Down

0 comments on commit 6cb4fd5

Please sign in to comment.