Skip to content

Commit ad6665b

Browse files
committed
Setup CI.
1 parent bd16d48 commit ad6665b

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/spm.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Swift
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: macos-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: SPM Build
11+
run: swift build
12+
- name: SPM Test
13+
run: swift test
14+
- name: macOS Build
15+
run: xcodebuild build -scheme B9Action -destination 'generic/platform=macOS' | xcpretty
16+
- name: iOS Build
17+
run: xcodebuild build -scheme B9Action -destination 'generic/platform=iOS' | xcpretty
18+
- name: tvOS Build
19+
run: xcodebuild build -scheme B9Action -destination 'generic/platform=tvOS' | xcpretty
20+
- name: watchOS Build
21+
run: xcodebuild build -scheme B9Action -destination 'generic/platform=watchOS' | xcpretty

0 commit comments

Comments
 (0)