@@ -33,10 +33,10 @@ jobs:
33
33
git diff --exit-code Support/Carthage/Readium.xcodeproj
34
34
- name : Build
35
35
run : |
36
- xcodebuild build-for-testing -scheme "$scheme" -destination "platform=$platform,name=$device"
36
+ xcodebuild build-for-testing -scheme "$scheme" -destination "platform=$platform,name=$device" | if command -v xcpretty &> /dev/null; then xcpretty; else cat; fi
37
37
- name : Test
38
38
run : |
39
- xcodebuild test-without-building -scheme "$scheme" -destination "platform=$platform,name=$device"
39
+ xcodebuild test-without-building -scheme "$scheme" -destination "platform=$platform,name=$device" | if command -v xcpretty &> /dev/null; then xcpretty; else cat; fi
40
40
41
41
lint :
42
42
name : Lint
91
91
run : make dev lcp=${{ secrets.LCP_URL_SPM }}
92
92
- name : Build
93
93
run : |
94
- xcodebuild build -scheme TestApp -destination "platform=$platform,name=$device"
94
+ xcodebuild build -scheme TestApp -destination "platform=$platform,name=$device" | if command -v xcpretty &> /dev/null; then xcpretty; else cat; fi
95
95
96
96
int-spm :
97
97
name : Integration (Swift Package Manager)
@@ -118,7 +118,7 @@ jobs:
118
118
run : make spm lcp=${{ secrets.LCP_URL_SPM }} commit=$commit_sha
119
119
- name : Build
120
120
run : |
121
- xcodebuild build -scheme TestApp -destination "platform=$platform,name=$device"
121
+ xcodebuild build -scheme TestApp -destination "platform=$platform,name=$device" | if command -v xcpretty &> /dev/null; then xcpretty; else cat; fi
122
122
123
123
int-carthage :
124
124
name : Integration (Carthage)
@@ -145,7 +145,7 @@ jobs:
145
145
run : make carthage lcp=${{ secrets.LCP_URL_CARTHAGE }} commit=$commit_sha
146
146
- name : Build
147
147
run : |
148
- xcodebuild build -scheme TestApp -destination "platform=$platform,name=$device"
148
+ xcodebuild build -scheme TestApp -destination "platform=$platform,name=$device" | if command -v xcpretty &> /dev/null; then xcpretty; else cat; fi
149
149
150
150
# Warning: This job cannot actually test the state of the current commit,
151
151
# but will check that the latest branch/tag set in the Podspecs are valid.
@@ -168,4 +168,4 @@ jobs:
168
168
run : make cocoapods lcp=${{ secrets.LCP_URL_COCOAPODS }} commit=$commit_sha
169
169
- name : Build
170
170
run : |
171
- xcodebuild build -workspace TestApp.xcworkspace -scheme TestApp -destination "platform=$platform,name=$device"
171
+ xcodebuild build -workspace TestApp.xcworkspace -scheme TestApp -destination "platform=$platform,name=$device" | if command -v xcpretty &> /dev/null; then xcpretty; else cat; fi
0 commit comments