Skip to content

Commit

Permalink
Tweaked config
Browse files Browse the repository at this point in the history
  • Loading branch information
abbeycode committed Jul 13, 2021
1 parent a91fffe commit c691479
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,35 @@ macos:
workflows:
Test:
jobs:
test-Mac:
- test-Mac:
steps:
# - checkout
# The CLANG arguments and find command fail the build on analyzer errors
- run: xcodebuild -workspace UnrarKit.xcworkspace -scheme UnrarKit -sdk macosx -configuration Release -quiet analyze test CLANG_ANALYZER_OUTPUT=html CLANG_ANALYZER_OUTPUT_DIR=analyzer-output && [[ -z `find analyzer-output -name "*.html"` ]]

test-iOS:
- test-iOS:
steps:
# - checkout
# The CLANG arguments and find command fail the build on analyzer errors
- run: xcodebuild -workspace UnrarKit.xcworkspace -scheme UnrarKit -destination 'platform=iOS Simulator,name=iPhone 11,OS=latest' -configuration Release analyze test CLANG_ANALYZER_OUTPUT=html CLANG_ANALYZER_OUTPUT_DIR=analyzer-output && [[ -z `find analyzer-output -name "*.html"` ]]

test-ExampleApp:
- test-ExampleApp:
steps:
# - checkout
# The CLANG arguments and find command fail the build on analyzer errors
- run: xcodebuild -workspace UnrarKit.xcworkspace -scheme UnrarExample -sdk iphonesimulator -configuration Release analyze CLANG_ANALYZER_OUTPUT=html CLANG_ANALYZER_OUTPUT_DIR=analyzer-output && [[ -z `find analyzer-output -name "*.html"` ]]

Validate:
jobs:
validate-CocoaPods:
- validate-CocoaPods:
requires:
- test-Mac
- test-iOS
- test-ExampleApp
steps:
- run: ./Scripts/cocoapod-validate.sh

validate-Carthage:
- validate-Carthage:
requires:
- test-Mac
- test-iOS
Expand All @@ -44,7 +44,7 @@ workflows:

Release:
jobs:
release:
- release:
requires:
- validate-CocoaPods
- validate-Carthage
Expand Down

0 comments on commit c691479

Please sign in to comment.