Skip to content

Commit 3f83c2f

Browse files
committed
1 parent 4b8ef00 commit 3f83c2f

File tree

1 file changed

+24
-8
lines changed

1 file changed

+24
-8
lines changed

.github/workflows/rundemo.yml

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,24 @@ jobs:
5555
run: SWIFTCI_USE_LOCAL_DEPS=/Users/runner/work/swift-foundation-icu-demo/swift-foundation-icu-demo swift build
5656
- name: "Test swift-foundation-icu-demo"
5757
working-directory: swift-foundation-icu-demo
58-
run: LC_ALL=en_US_POSIX swift test
58+
run: |
59+
LC_ALL=en_US_POSIX swift test
60+
.build/arm64-apple-macosx/debug/FoundationICUDemoPackageTests.xctest/Contents/MacOS/FoundationICUDemoPackageTests
5961
- name: "Run InternationalizationBenchmarks with Packaged ICU Data"
6062
working-directory: swift-foundation/Benchmarks
61-
run: USE_PACKAGE=1 SWIFTCI_USE_LOCAL_DEPS=/Users/runner/work/swift-foundation-icu-demo/swift-foundation-icu-demo LC_ALL=en_US_POSIX swift run InternationalizationBenchmarks
63+
run: |
64+
USE_PACKAGE=1 SWIFTCI_USE_LOCAL_DEPS=/Users/runner/work/swift-foundation-icu-demo/swift-foundation-icu-demo LC_ALL=en_US_POSIX swift run InternationalizationBenchmarks
65+
ls -lah .build/arm64-apple-macosx/debug/InternationalizationBenchmarks
6266
- name: "Run InternationalizationBenchmarks with Packaged ICU Data (Again)"
6367
working-directory: swift-foundation/Benchmarks
64-
run: USE_PACKAGE=1 SWIFTCI_USE_LOCAL_DEPS=/Users/runner/work/swift-foundation-icu-demo/swift-foundation-icu-demo LC_ALL=en_US_POSIX swift run InternationalizationBenchmarks
68+
run: |
69+
USE_PACKAGE=1 SWIFTCI_USE_LOCAL_DEPS=/Users/runner/work/swift-foundation-icu-demo/swift-foundation-icu-demo LC_ALL=en_US_POSIX swift run InternationalizationBenchmarks
70+
ls -lah .build/arm64-apple-macosx/debug/InternationalizationBenchmarks
6571
- name: "Run FormattingBenchmarks with Packaged ICU Data"
6672
working-directory: swift-foundation/Benchmarks
67-
run: USE_PACKAGE=1 SWIFTCI_USE_LOCAL_DEPS=/Users/runner/work/swift-foundation-icu-demo/swift-foundation-icu-demo LC_ALL=en_US_POSIX swift run FormattingBenchmarks
73+
run: |
74+
USE_PACKAGE=1 SWIFTCI_USE_LOCAL_DEPS=/Users/runner/work/swift-foundation-icu-demo/swift-foundation-icu-demo LC_ALL=en_US_POSIX swift run FormattingBenchmarks
75+
ls -lah .build/arm64-apple-macosx/debug/FormattingBenchmarks
6876
- name: "Apply swift-foundation-icu PR #53"
6977
working-directory: swift-foundation-icu
7078
run: gh pr checkout 53
@@ -75,7 +83,9 @@ jobs:
7583
run: perl -pi -e 's/"USE_PACKAGE_DATA"/"DISABLED_USE_PACKAGE_DATA"/g' Package.swift && cat Package.swift
7684
- name: "Test swift-foundation-icu-demo with ICU data file"
7785
working-directory: swift-foundation-icu-demo
78-
run: ICU_DATA_DIR_PREFIX=${{ github.workspace }}/swift-foundation-icu-demo/LOCALE_DATA LC_ALL=en_US_POSIX swift test
86+
run: |
87+
ICU_DATA_DIR_PREFIX=${{ github.workspace }}/swift-foundation-icu-demo/LOCALE_DATA LC_ALL=en_US_POSIX swift test
88+
ls -lah .build/arm64-apple-macosx/debug/FoundationICUDemoPackageTests.xctest/Contents/MacOS/FoundationICUDemoPackageTests
7989
- name: "Verify that ICU data file is being used"
8090
working-directory: swift-foundation-icu-demo
8191
run: |
@@ -88,11 +98,17 @@ jobs:
8898
mv LOCALE_DATA/usr/share/icu/icudt74l.dat.disabled LOCALE_DATA/usr/share/icu/icudt74l.dat
8999
- name: "Run InternationalizationBenchmarks with External ICU Data"
90100
working-directory: swift-foundation/Benchmarks
91-
run: USE_PACKAGE=1 SWIFTCI_USE_LOCAL_DEPS=/Users/runner/work/swift-foundation-icu-demo/swift-foundation-icu-demo LC_ALL=en_US_POSIX swift run InternationalizationBenchmarks
101+
run: |
102+
USE_PACKAGE=1 SWIFTCI_USE_LOCAL_DEPS=/Users/runner/work/swift-foundation-icu-demo/swift-foundation-icu-demo LC_ALL=en_US_POSIX swift run InternationalizationBenchmarks
103+
ls -lah .build/arm64-apple-macosx/debug/InternationalizationBenchmarks
92104
- name: "Run InternationalizationBenchmarks with External ICU Data (Again)"
93105
working-directory: swift-foundation/Benchmarks
94-
run: USE_PACKAGE=1 SWIFTCI_USE_LOCAL_DEPS=/Users/runner/work/swift-foundation-icu-demo/swift-foundation-icu-demo LC_ALL=en_US_POSIX swift run InternationalizationBenchmarks
106+
run: |
107+
USE_PACKAGE=1 SWIFTCI_USE_LOCAL_DEPS=/Users/runner/work/swift-foundation-icu-demo/swift-foundation-icu-demo LC_ALL=en_US_POSIX swift run InternationalizationBenchmarks
108+
ls -lah .build/arm64-apple-macosx/debug/InternationalizationBenchmarks
95109
- name: "Run FormattingBenchmarks with External ICU Data"
96110
working-directory: swift-foundation/Benchmarks
97-
run: USE_PACKAGE=1 SWIFTCI_USE_LOCAL_DEPS=/Users/runner/work/swift-foundation-icu-demo/swift-foundation-icu-demo LC_ALL=en_US_POSIX swift run FormattingBenchmarks
111+
run: |
112+
USE_PACKAGE=1 SWIFTCI_USE_LOCAL_DEPS=/Users/runner/work/swift-foundation-icu-demo/swift-foundation-icu-demo LC_ALL=en_US_POSIX swift run FormattingBenchmarks
113+
ls -lah .build/arm64-apple-macosx/debug/FormattingBenchmarks
98114

0 commit comments

Comments
 (0)