Skip to content

Commit

Permalink
Set CI to install sdks
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-potts authored and HarukaMa committed Dec 2, 2019
1 parent b002ab1 commit 55641ab
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- "**.h"
- "**.podspec"
- "Podfile"

- "test.yml"
jobs:
iOS:
name: Test iOS
Expand All @@ -19,14 +19,16 @@ jobs:
strategy:
matrix:
destination: [
'platform=iOS Simulator,OS=10.2,name=iPhone 7',
'platform=iOS Simulator,OS=10.3.1,name=iPhone 7',
'platform=iOS Simulator,OS=13.1,name=iPhone 11'
]
steps:
- name: Checkout
uses: actions/checkout@master
- name: iOS - ${{ matrix.destination }}
run: |
xcversion simulators --install='iOS 10.3.1'
xcversion simulators --install='iOS 13.1'
pod install
set -o pipefail && xcodebuild clean test -workspace Hero.xcworkspace -scheme Hero -destination "${destination}" -parallelizeTargets -showBuildTimingSummary -enableThreadSanitizer YES -enableCodeCoverage YES CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO | xcpretty
bash <(curl -s https://codecov.io/bash)
Expand Down Expand Up @@ -54,6 +56,7 @@ jobs:
uses: actions/checkout@master
- name: tvOS - ${{ matrix.destination }}
run: |
xcversion simulators --install='tvOS 13.0'
pod install
set -o pipefail && xcodebuild clean build -workspace Hero.xcworkspace -scheme "Hero (tvOS)" -destination "${destination}" -parallelizeTargets -showBuildTimingSummary -enableThreadSanitizer YES CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO | xcpretty
env:
Expand Down

0 comments on commit 55641ab

Please sign in to comment.