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 @@ -46,13 +46,20 @@ jobs:
4646 run : gh pr checkout 53
4747 env :
4848 GH_TOKEN : ${{ github.token }}
49- - run : ls ${{ github.workspace }}/swift-foundation-icu-demo/LOCALE_DATA
49+ - run : ls ${{ github.workspace }}/swift-foundation-icu-demo/LOCALE_DATA/usr/share/icu/icudt74l.dat
5050 - name : " Patch swift-foundation-icu to run on Linux"
5151 working-directory : swift-foundation-icu
5252 run : perl -pi -e 's/"USE_PACKAGE_DATA"/"DISABLED_USE_PACKAGE_DATA"/g' Package.swift
5353 - name : " Test swift-foundation-icu-demo"
54- # if: false
54+ working-directory : swift-foundation-icu-demo
55+ run : ICU_DATA_DIR_PREFIX=${{ github.workspace }}/swift-foundation-icu-demo/LOCALE_DATA swift test
56+ - name : " Corrupt locale data"
57+ run : echo '' > ${{ github.workspace }}/swift-foundation-icu-demo/LOCALE_DATA/usr/share/icu/icudt74l.dat
58+ - name : " Re-test swift-foundation-icu-demo"
59+ working-directory : swift-foundation-icu-demo
60+ # should fail
5561 run : ICU_DATA_DIR_PREFIX=${{ github.workspace }}/swift-foundation-icu-demo/LOCALE_DATA swift test
62+
5663 - name : " Build Foundation"
5764 working-directory : swift-foundation
5865 run : SWIFTCI_USE_LOCAL_DEPS=.. swift build
You can’t perform that action at this time.
0 commit comments