Skip to content

Commit 8d014ed

Browse files
committed
improve CI logs
1 parent 0a80b10 commit 8d014ed

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/build-sentry-cocoa.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ macos_sdk=$(echo "$sdks" | awk '/macOS SDKs/{getline; print $NF}')
1818
# to use the package on Windows with "Pair to Mac".
1919

2020
# Build for iOS and iOS simulator.
21+
echo "::group::Building sentry-cocoa for iOS and iOS simulator"
2122
xcodebuild -project Sentry.xcodeproj \
2223
-scheme Sentry \
2324
-configuration Release \
@@ -32,8 +33,10 @@ xcodebuild -create-xcframework \
3233
-framework ./Carthage/output-ios/Build/Products/Release-iphoneos/Sentry.framework \
3334
-framework ./Carthage/output-ios/Build/Products/Release-iphonesimulator/Sentry.framework \
3435
-output ./Carthage/Build-ios/Sentry.xcframework
36+
echo "::endgroup::"
3537

3638
# Build for macOS.
39+
echo "::group::Building sentry-cocoa for macOS"
3740
xcodebuild -project Sentry.xcodeproj \
3841
-scheme Sentry \
3942
-configuration Release \
@@ -42,8 +45,10 @@ xcodebuild -project Sentry.xcodeproj \
4245
xcodebuild -create-xcframework \
4346
-framework ./Carthage/output-macos/Build/Products/Release/Sentry.framework \
4447
-output ./Carthage/Build-macos/Sentry.xcframework
48+
echo "::endgroup::"
4549

4650
# Separately, build for Mac Catalyst
51+
echo "::group::Building sentry-cocoa for Mac Catalyst"
4752
xcodebuild -project Sentry.xcodeproj \
4853
-scheme Sentry \
4954
-configuration Release \
@@ -52,6 +57,7 @@ xcodebuild -project Sentry.xcodeproj \
5257
xcodebuild -create-xcframework \
5358
-framework ./Carthage/output-maccatalyst/Build/Products/Release-maccatalyst/Sentry.framework \
5459
-output ./Carthage/Build-maccatalyst/Sentry.xcframework
60+
echo "::endgroup::"
5561

5662
# Copy headers - used for generating bindings
5763
mkdir Carthage/Headers

0 commit comments

Comments
 (0)