Skip to content

Commit 39dcfde

Browse files
authored
[CI] Build-only for tvOS and watchOS (#20)
1 parent 26bb148 commit 39dcfde

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,16 @@ on:
1111
- cron: '3 3 * * 2' # 3:03 AM, every Tuesday
1212

1313
concurrency:
14-
group: ${{ github.ref }}
14+
group: ci-${{ github.ref }}
1515
cancel-in-progress: true
1616

1717
jobs:
1818
macOS:
1919
name: ${{ matrix.platform }} (Swift ${{ matrix.swift }})
20-
runs-on: ${{ matrix.os }}
20+
runs-on: macos-12
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
os:
25-
- macos-12
2624
platform:
2725
- iOS
2826
- macOS
@@ -32,10 +30,17 @@ jobs:
3230
- 5.5
3331
- 5.6
3432
- 5.7
33+
include:
34+
- action: test
35+
- platform: tvOS
36+
action: build
37+
- platform: watchOS
38+
action: build
3539
steps:
3640
- uses: actions/checkout@v2
3741
- uses: mxcl/xcodebuild@v1
3842
with:
43+
action: ${{ matrix.action }}
3944
platform: ${{ matrix.platform }}
4045
swift: ~${{ matrix.swift }}
4146
scheme: TextBuilder

0 commit comments

Comments
 (0)