Skip to content

Commit 2724ab0

Browse files
committed
Updating workflows to work on current GitHub stack
1 parent c172648 commit 2724ab0

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

.github/workflows/iOS.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ on: [pull_request]
55
jobs:
66
build:
77

8-
timeout-minutes: 5
8+
timeout-minutes: 3
99
runs-on: macOS-latest
1010

1111
steps:
1212
- uses: actions/checkout@v1
13-
- name: Generate iOS xcodeproj
14-
run: swift package generate-xcodeproj
13+
- name: Build
14+
run: swift build
1515
- name: Run iOS tests
1616
run: xcodebuild build test -destination 'name=iPhone 11' -scheme 'RectangleTools-Package'
1717

.github/workflows/macOS.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [pull_request]
55
jobs:
66
build:
77

8-
timeout-minutes: 5
8+
timeout-minutes: 3
99
runs-on: macOS-latest
1010

1111
steps:

.github/workflows/watchOS.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: watchOS
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
8+
timeout-minutes: 3
9+
runs-on: macOS-latest
10+
11+
steps:
12+
- uses: actions/checkout@v1
13+
- name: Build
14+
run: swift build
15+
- name: Run watchOS tests
16+
run: xcodebuild build test -destination 'name=Apple Watch Ultra 2 (49mm)' -scheme 'RectangleTools-Package'
17+

0 commit comments

Comments
 (0)