-
Notifications
You must be signed in to change notification settings - Fork 10
32 lines (27 loc) · 767 Bytes
/
Copy pathci.yml
File metadata and controls
32 lines (27 loc) · 767 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
28
29
30
31
32
name: CI
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: macos-latest
env:
PROJECT: RxApolloClient.xcodeproj
SCHEME: RxApolloClient-Package
SDK: iphonesimulator
DESTINATION: platform=iOS Simulator,name=iPhone 12 Pro,OS=latest
steps:
- uses: actions/checkout@v1
- name: Generate Xcode Project
run: swift package generate-xcodeproj --enable-code-coverage
- name: Build
run: |
set -o pipefail && xcodebuild clean build \
-project "$PROJECT" \
-scheme "$SCHEME" \
-sdk "$SDK" \
-destination "$DESTINATION" \
-configuration Debug \
CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty -c