Skip to content

Commit

Permalink
ci: add swift integration logging (#13344)
Browse files Browse the repository at this point in the history
  • Loading branch information
russellwheatley authored Sep 17, 2024
1 parent 898f59c commit cfe18d4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/scripts/swift-integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ set -e
# firebase_core iOS example

# Setup for SPM integration

echo "Building firebase core iOS example app with swift (SPM)"

cd packages/firebase_core/firebase_core/example/ios
rm Podfile
pod deintegrate
Expand All @@ -24,6 +27,7 @@ fi

# Check the output for the specific string
if [[ "$flutter_output" =~ "Running pod install" ]]; then
echo "Failed. Pods are being installed when they should not be."
exit 1
else
echo "Successfully built iOS project using Swift Package Manager."
Expand All @@ -32,6 +36,9 @@ fi
# firebase_core macOS example

# Setup for SPM integration

echo "Building firebase core macOS example app with swift (SPM)"

cd ../macos
rm Podfile
pod deintegrate
Expand All @@ -48,6 +55,7 @@ fi

# Check the output for the specific string
if [[ "$flutter_output" =~ "Running pod install" ]]; then
echo "Failed. Pods are being installed when they should not be."
exit 1
else
echo "Successfully built macOS project using Swift Package Manager."
Expand Down

0 comments on commit cfe18d4

Please sign in to comment.