From 146d87798acfa45f6b580af7548c907581a99470 Mon Sep 17 00:00:00 2001 From: Dov Frankel Date: Tue, 13 Jul 2021 00:51:12 -0400 Subject: [PATCH] Tweaked config --- .circleci/config.yml | 30 ++++++------------------------ 1 file changed, 6 insertions(+), 24 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c6feac2..e0c87a3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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