-
Notifications
You must be signed in to change notification settings - Fork 16
27 lines (23 loc) · 888 Bytes
/
ci.yml
File metadata and controls
27 lines (23 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: ci
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Build SwiftColor-iOS
run: xcodebuild -scheme SwiftColor-iOS -destination generic/platform=iOS -configuration Release | xcpretty -s
- name: Build SwiftColor-macOS
run: xcodebuild -scheme SwiftColor-macOS -destination generic/platform=macOS -configuration Release | xcpretty -s
- name: Build SwiftColor-watchOS
run: xcodebuild -scheme SwiftColor-watchOS -destination generic/platform=watchOS -configuration Release | xcpretty -s
- name: Build SwiftColor-tvOS
run: xcodebuild -scheme wiftColor-tvOS -destination generic/platform=tvOS -configuration Release | xcpretty -s
- name: Swift Build
run: swift build -v
- name: Swift Test
run: swift test -v