diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 95429f1707b..c724faee5d4 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -37,8 +37,7 @@ jobs: steps: - uses: actions/checkout@v3 - run: ./scripts/ci-select-xcode.sh - - name: Run analyze - run: xcodebuild analyze -workspace Sentry.xcworkspace -scheme Sentry -configuration Release CLANG_ANALYZER_OUTPUT=html CLANG_ANALYZER_OUTPUT_DIR=analyzer | xcpretty -t && [[ -z `find analyzer -name "*.html"` ]] + - run: make analyze validate-podspec: name: Validate Podspec diff --git a/Makefile b/Makefile index 11c6df993a4..bb9ac2682cf 100644 --- a/Makefile +++ b/Makefile @@ -42,8 +42,8 @@ run-test-server: .PHONY: run-test-server analyze: - rm -r analyzer - xcodebuild analyze -workspace Sentry.xcworkspace -scheme Sentry -configuration Release CLANG_ANALYZER_OUTPUT=html CLANG_ANALYZER_OUTPUT_DIR=analyzer | rbenv exec bundle exec xcpretty -t + rm -rf analyzer + xcodebuild analyze -workspace Sentry.xcworkspace -scheme Sentry -configuration Release CLANG_ANALYZER_OUTPUT=html CLANG_ANALYZER_OUTPUT_DIR=analyzer -destination "platform=iOS Simulator,OS=latest,name=iPhone 11" CODE_SIGNING_ALLOWED="NO" | xcpretty -t && [[ -z `find analyzer -name "*.html"` ]] # Since Carthage 0.38.0 we need to create separate .framework.zip and .xcframework.zip archives. # After creating the zips we create a JSON to be able to test Carthage locally.