summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2020-10-01 14:57:43 -0400
committerJoel Fischer <joeljfischer@gmail.com>2020-10-01 14:57:43 -0400
commit3d1967851849eb585c76fe20b7136b8746e9a726 (patch)
tree2e7bcd82ec658fab08b66c6643cdc4b6418f3ae8 /.github
parentafc1e62aaff31613bedd8b6ae4911e33c049b8bf (diff)
downloadsdl_ios-3d1967851849eb585c76fe20b7136b8746e9a726.tar.gz
Fix building deps with wrong xcode versionbugfix/issue-1801-github-ci-fail
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 21cc7fa7c..97f5ca6ac 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -40,6 +40,14 @@ jobs:
matrix:
scheme: ['SmartDeviceLink']
steps:
+ # Print the available Xcode versions
+ - name: Get available Xcode versions on the server
+ run: ls /Applications | grep Xcode
+
+ # 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.0.0.app
+
- name: Checkout repository
uses: actions/checkout@v2.3.1
with:
@@ -58,14 +66,6 @@ jobs:
run: bash carthage-build.sh --no-use-binaries --platform iOS --cache-builds
# run: carthage bootstrap --no-use-binaries --platform iOS --cache-builds
- # Print the available Xcode versions
- - name: Get available Xcode versions on the server
- run: ls /Applications | grep Xcode
-
- # 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.0.0.app
-
# Split build into build-only and test-only as it is faster than building and running in one step
- name: Building unit tests
run: xcodebuild build-for-testing -project "$PROJECT" -destination "$DESTINATION" -scheme "${{ matrix.scheme }}"