Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
brustolin authored Oct 8, 2024
1 parent bd12433 commit 3f5353a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmarking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
MATCH_USERNAME: ${{ secrets.MATCH_USERNAME }}
- name: Build Framework
run: ./scripts/build-xcframework.sh reduced
run: ./scripts/build-xcframework.sh iOSOnly

- name: Archive build log if failed
uses: actions/upload-artifact@v4
Expand Down
6 changes: 3 additions & 3 deletions scripts/build-xcframework.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eou pipefail

args="${1:-}"

if [ "$args" = "reduced" ]; then
if [ "$args" = "iOSOnly" ]; then
sdks=( iphoneos iphonesimulator )
else
sdks=( iphoneos iphonesimulator macosx appletvos appletvsimulator watchos watchsimulator xros xrsimulator )
Expand Down Expand Up @@ -87,7 +87,7 @@ generate_xcframework() {
OTHER_LDFLAGS="-Wl,-make_mergeable"
fi

if [ "$args" != "reduced" ]; then
if [ "$args" != "iOSOnly" ]; then
#Create framework for mac catalyst
xcodebuild \
-project Sentry.xcodeproj/ \
Expand Down Expand Up @@ -122,7 +122,7 @@ generate_xcframework() {

generate_xcframework "Sentry" "-Dynamic"

if [ "$args" != "reduced" ]; then
if [ "$args" != "iOSOnly" ]; then
generate_xcframework "Sentry" "" staticlib

generate_xcframework "SentrySwiftUI"
Expand Down

0 comments on commit 3f5353a

Please sign in to comment.