Skip to content

Commit 495bb51

Browse files
committed
Use OS instead of Device Model
1 parent 61d1fc1 commit 495bb51

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,25 @@ jobs:
1010
runs-on: macos-latest
1111
strategy:
1212
matrix:
13-
device_model: ['iPhone 8', 'Apple TV 4K']
13+
os: ['tvOS', 'watchOS', 'iOS']
1414
steps:
1515
- uses: actions/checkout@v2
1616
- uses: maxim-lobanov/setup-xcode@v1
17-
name: "Build for testing"
1817
with:
1918
xcode-version: '13.2.1'
2019
- uses: actions/cache@v1
2120
id: carthage-cache
2221
with:
2322
path: Carthage
2423
key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }}
25-
- name: Carthage
24+
- name: Build
2625
if: steps.carthage-cache.outputs.cache-hit != 'true'
2726
run: |
2827
sh ./Consumption-Tests/Shared/carthage.sh bootstrap --cache-builds --use-xcframeworks
2928
- uses: futureware-tech/simulator-action@v1
3029
id: simulator
3130
with:
32-
model: ${{ matrix.device_model }}
31+
os: ${{ matrix.os }}
3332
- name: "Run ${{ matrix.device_model }} Tests"
3433
run: |
3534
set -o pipefail && env NSUnbufferedIO=YES xcodebuild \

0 commit comments

Comments
 (0)