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 3e40880 commit 146d877
Showing 1 changed file with 6 additions and 24 deletions.
30 changes: 6 additions & 24 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,55 +42,37 @@ workflows:

jobs:
test-Mac:
parameters:
e:
type: executor
executor: << parameters.e >>
executor: my-xcode
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:
parameters:
e:
type: executor
executor: << parameters.e >>
executor: my-xcode
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:
parameters:
e:
type: executor
executor: << parameters.e >>
executor: my-xcode
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-CocoaPods:
parameters:
e:
type: executor
executor: << parameters.e >>
executor: my-xcode
steps:
- run: ./Scripts/cocoapod-validate.sh

validate-Carthage:
parameters:
e:
type: executor
executor: << parameters.e >>
executor: my-xcode
steps:
- run: ./Scripts/carthage-validate.sh

release:
parameters:
e:
type: executor
executor: << parameters.e >>
executor: my-xcode
steps:
- run: ./Scripts/push-output.sh

0 comments on commit 146d877

Please sign in to comment.