Debug Travis build

This commit is contained in:
Jonas Zaugg committed 2020-08-02 15:15:41 +02:00
1 parent b3e5f7b000
commit 8199aee292
2 files changed
+5 -2

No files matched your search

+2 -2
View File
@@ -5,5 +5,5 @@ osx_image:
- xcode12u
script:
- set -o pipefail && xcodebuild -scheme Sparkle -configuration Release -derivedDataPath build -archivePath build/Build/Products/Release/Sparkle.xcarchive BUILD_LIBRARY_FOR_DISTRIBUTION=YES SKIP_INSTALL=NO archive | xcpretty
- set -o pipefail && xcodebuild -create-xcframework -framework build/Build/Products/Release/Sparkle.xcarchive/Products/Library/Frameworks/Sparkle.framework -output build/Build/Products/Release/Sparkle.xcframework | xcpretty
- set -o pipefail && xcodebuild test -project Sparkle.xcodeproj -scheme Distribution -derivedDataPath build -enableCodeCoverage YES | xcpretty
- set -o pipefail && xcodebuild -create-xcframework -framework build/Build/Products/Release/Sparkle.xcarchive/Products/Library/Frameworks/Sparkle.framework -output build/Build/Products/Release/Sparkle.xcframework
- set -o pipefail && xcodebuild test -project Sparkle.xcodeproj -scheme Distribution -derivedDataPath build -enableCodeCoverage YES
+3
View File
@@ -1,5 +1,6 @@
#!/bin/bash
set -e
pwd
if [ "$ACTION" = "" ] ; then
# If using cocoapods, sanity check that the Podspec version matches the Sparkle version
@@ -50,6 +51,8 @@ if [ "$ACTION" = "" ] ; then
# Generate zip containing the xcframework for SPM
cd "$CONFIGURATION_BUILD_DIR/staging-spm"
pwd
ls ../..
#rm -rf "$CONFIGURATION_BUILD_DIR/Sparkle.xcarchive"
zip -rqyX -9 "../Sparkle-SPM-$CURRENT_PROJECT_VERSION.zip" *
# Generate new Package manifest