Skip to content

Commit 1a88597

Browse files
update
1 parent 62cb6ba commit 1a88597

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/swift.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,17 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v4
19-
- name: Build
20-
run: swift build -v
19+
- name: Build for iOS Simulator
20+
run: |
21+
xcodebuild build \
22+
-scheme gitdiff \
23+
-sdk iphonesimulator \
24+
-destination 'platform=iOS Simulator,name=iPhone 15' \
25+
| xcpretty --simple --color
2126
- name: Run tests
22-
run: swift test -v
27+
run: |
28+
xcodebuild test \
29+
-scheme gitdiff \
30+
-sdk iphonesimulator \
31+
-destination 'platform=iOS Simulator,name=iPhone 15' \
32+
| xcpretty --simple --color

0 commit comments

Comments
 (0)