File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1515 uses : actions/checkout@v4
1616 with :
1717 path : swift-foundation-icu-demo
18+ - name : " Checkout ICU"
19+ uses : actions/checkout@v4
20+ with :
21+ repository : apple-oss-distributions/ICU
22+ path : ICU
23+ - name : " Build ICU Data"
24+ working-directory : ICU
25+ run : make icu
1826 - name : " Checkout swift-foundation"
1927 uses : actions/checkout@v4
2028 with :
4856 run : gh pr checkout 53
4957 env :
5058 GH_TOKEN : ${{ github.token }}
51- - run : ls ${{ github.workspace }}/swift-foundation-icu-demo/LOCALE_DATA/usr/share/icu/icudt74l.dat
5259 - name : " Patch swift-foundation-icu to use data file on Linux"
5360 working-directory : swift-foundation-icu
5461 run : perl -pi -e 's/"USE_PACKAGE_DATA"/"DISABLED_USE_PACKAGE_DATA"/g' Package.swift
6067 run : |
6168 mv LOCALE_DATA/usr/share/icu/icudt74l.dat LOCALE_DATA/usr/share/icu/icudt74l.dat.old
6269 echo '' > LOCALE_DATA/usr/share/icu/icudt74l.dat
63- # should fail
70+ # should fail after we clobber the data file
6471 ICU_DATA_DIR_PREFIX=${{ github.workspace }}/swift-foundation-icu-demo/LOCALE_DATA swift test || true
6572 # move the data file back
6673 mv LOCALE_DATA/usr/share/icu/icudt74l.dat.old LOCALE_DATA/usr/share/icu/icudt74l.dat
You can’t perform that action at this time.
0 commit comments