diff options
author | NicoleYarroch <nicole@livio.io> | 2021-01-27 12:01:22 -0500 |
---|---|---|
committer | NicoleYarroch <nicole@livio.io> | 2021-01-27 12:01:22 -0500 |
commit | f5981416591810af67fe84a39649a7992e58494f (patch) | |
tree | 393982f26e85fb9b4f46e2b3dbb720389cf15432 | |
parent | ff09c2ac82fca72bd7d8b1011c175779b106c86c (diff) | |
download | sdl_ios-f5981416591810af67fe84a39649a7992e58494f.tar.gz |
Fixed carthage install script
Signed-off-by: NicoleYarroch <nicole@livio.io>
-rw-r--r-- | .github/workflows/test.yml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cf53b5bda..58cf5811c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,7 +5,7 @@ on: [push, pull_request] env: PROJECT: 'SmartDeviceLink-iOS.xcodeproj' - DESTINATION: 'platform=iOS Simulator,name=iPhone 11,OS=14.1' + DESTINATION: 'platform=iOS Simulator,name=iPhone 11,OS=14.3' jobs: build: @@ -27,7 +27,7 @@ jobs: # Select the Xcode version (the platform/simulator/OS available for testing depend on the Xcode version) - name: Select Xcode version - run: sudo xcode-select -switch /Applications/Xcode_12.1.app + run: sudo xcode-select -switch /Applications/Xcode_12.4.app - name: Build run: set -o pipefail && xcodebuild -scheme "${{ matrix.scheme }}" -destination "$DESTINATION" build | xcpretty --color --simple @@ -46,7 +46,7 @@ jobs: # Select the Xcode version (the platform/simulator/OS available for testing depend on the Xcode version) - name: Select Xcode version - run: sudo xcode-select -switch /Applications/Xcode_12.1.app + run: sudo xcode-select -switch /Applications/Xcode_12.4.app - name: Checkout repository uses: actions/checkout@v2.3.1 @@ -63,7 +63,10 @@ jobs: - name: Installing dependencies if: steps.carthage-cache.outputs.cache-hit != 'true' - run: bash carthage-build.sh --no-use-binaries --platform iOS --cache-builds + run: | + carthage update --new-resolver --no-build + bash carthage-build.sh update --no-use-binaries --platform ios + # run: carthage bootstrap --no-use-binaries --platform iOS --cache-builds # Split build into build-only and test-only as it is faster than building and running in one step |