-
Notifications
You must be signed in to change notification settings - Fork 17
81 lines (69 loc) · 2.06 KB
/
masterCI.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
name: CI Build with Unit Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Create DerivedData folder
run: mkdir DerivedData
- name: Build RollbarCommon
working-directory: RollbarCommon
run: swift build -v --build-path ../DerivedData
- name: Build RollbarDeploys
working-directory: RollbarDeploys
run: swift build -v
- name: Build RollbarNotifier
working-directory: RollbarNotifier
run: swift build -v
- name: Build RollbarAUL
working-directory: RollbarAUL
run: swift build -v
- name: Test RollbarCommon
run: |
xcodebuild \
-workspace RollbarSDK.xcworkspace \
-scheme RollbarCommon \
-derivedDataPath DerivedData \
-enableCodeCoverage YES \
build \
test \
CODE_SIGN_IDENTITY="-" \
CODE_SIGNING_REQUIRED=NO
- name: Test RollbarDeploys
run: |
xcodebuild \
-workspace RollbarSDK.xcworkspace \
-scheme RollbarDeploys \
-derivedDataPath DerivedData \
-enableCodeCoverage YES \
build \
test \
CODE_SIGN_IDENTITY="-" \
CODE_SIGNING_REQUIRED=NO
- name: Test RollbarNotifier
run: |
xcodebuild \
-workspace RollbarSDK.xcworkspace \
-scheme RollbarNotifier \
-derivedDataPath DerivedData \
-enableCodeCoverage YES \
build \
test \
CODE_SIGN_IDENTITY="-" \
CODE_SIGNING_REQUIRED=NO
- name: Test RollbarAUL
run: |
xcodebuild \
-workspace RollbarSDK.xcworkspace \
-scheme RollbarAUL \
-derivedDataPath DerivedData \
-enableCodeCoverage YES \
build \
test \
CODE_SIGN_IDENTITY="-" \
CODE_SIGNING_REQUIRED=NO