Skip to content

Commit f4768fc

Browse files
committed
ci: ios build log
1 parent 2efdc25 commit f4768fc

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.github/workflows/pull_request.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,25 @@ jobs:
113113
run: echo MAPS_API_KEY="API_KEY" >> example/ios/Secrets.xcconfig
114114

115115
- name: Build example for iOS
116-
run: yarn build:ios
116+
working-directory: example/ios
117+
run: |
118+
set -o pipefail
119+
xcodebuild \
120+
-workspace GoogleMapsPlusExample.xcworkspace \
121+
-scheme GoogleMapsPlusExample \
122+
-configuration Debug \
123+
-destination "generic/platform=iOS Simulator" \
124+
CODE_SIGNING_ALLOWED=NO \
125+
CODE_SIGNING_REQUIRED=NO \
126+
CODE_SIGN_IDENTITY="-" \
127+
EXPANDED_CODE_SIGN_IDENTITY="-" \
128+
DEVELOPMENT_TEAM="" \
129+
PROVISIONING_PROFILE_SPECIFIER="" \
130+
| tee build_raw.log
131+
exit ${PIPESTATUS[0]}
132+
133+
- name: Dump raw Xcode logs
134+
if: failure()
135+
run: |
136+
echo "------ RAW BUILD LOG ------"
137+
cat example/ios/build_raw.log

0 commit comments

Comments
 (0)