summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 }}"