Skip to content

Commit 367d759

Browse files
committed
1 parent 9eb8295 commit 367d759

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/rundemo.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,17 @@ jobs:
5858
- name: "Verify that ICU data file is being used"
5959
working-directory: swift-foundation-icu-demo
6060
run: |
61-
mv LOCALE_DATA/usr/share/icu/icudt76l.dat LOCALE_DATA/usr/share/icu/icudt76l.dat.old
62-
echo '' > LOCALE_DATA/usr/share/icu/icudt76l.dat
61+
mv LOCALE_DATA/usr/share/icu/icudt74l.dat LOCALE_DATA/usr/share/icu/icudt74l.dat.old
62+
echo '' > LOCALE_DATA/usr/share/icu/icudt74l.dat
6363
# should fail after we clobber the data file
64-
ICU_DATA_DIR_PREFIX=${{ github.workspace }}/swift-foundation-icu-demo/LOCALE_DATA LC_ALL=en_US_POSIX swift test || true
64+
ICU_DATA_DIR_PREFIX=${{ github.workspace }}/swift-foundation-icu-demo/LOCALE_DATA LC_ALL=en_US_POSIX swift test || echo "FAILED AS EXPECTED" > /tmp/testsfailed.txt
65+
cat /tmp/testsfailed.txt
6566
# move the data file back
66-
mv LOCALE_DATA/usr/share/icu/icudt76l.dat.old LOCALE_DATA/usr/share/icu/icudt76l.dat
67+
mv LOCALE_DATA/usr/share/icu/icudt74l.dat.old LOCALE_DATA/usr/share/icu/icudt74l.dat
6768
- name: "Build Foundation"
6869
working-directory: swift-foundation
69-
run: SWIFTCI_USE_LOCAL_DEPS=.. swift build
70+
run: SWIFTCI_USE_LOCAL_DEPS=/Users/runner/work/swift-foundation-icu-demo/swift-foundation-icu-demo swift build
7071
- name: "Run Foundation InternationalizationBenchmarks"
7172
working-directory: swift-foundation/Benchmarks
72-
run: SWIFTCI_USE_LOCAL_DEPS=.. LC_ALL=en_US_POSIX swift run InternationalizationBenchmarks
73+
run: SWIFTCI_USE_LOCAL_DEPS=/Users/runner/work/swift-foundation-icu-demo/swift-foundation-icu-demo LC_ALL=en_US_POSIX swift run InternationalizationBenchmarks
7374

0 commit comments

Comments
 (0)