-
Notifications
You must be signed in to change notification settings - Fork 13
79 lines (72 loc) · 1.74 KB
/
Build.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
name: Build
on:
push:
branches:
- develop
- preview/version-8
pull_request:
jobs:
build_iOS:
runs-on: macOS-13
steps:
- uses: actions/checkout@v1
- name: Generate projects
run: make init
- name: Build
run: make build_lib_iOS
- name: Run tests
run: make test_lib_iOS
- name: Check Log
run: make check_test_log
- name: Prepare Report
run: make prepare_report
- name: Upload Coverage
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: build/reports/cobertura.xml
flags: unittests
name: codecov-unit
xcode: true
fail_ci_if_error: true
verbose: true
build_Example:
runs-on: macOS-13
steps:
- uses: actions/checkout@v1
- name: Generate projects
run: make init
- name: Build
run: make build_example_iOS
- name: Run tests
run: make test_example_iOS
- name: Check Log
run: make check_test_log
- name: Prepare Report
run: make prepare_example_report
- name: Upload Coverage
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: build/reports/cobertura.xml
flags: uitests
name: codecov-ui
xcode: true
fail_ci_if_error: true
verbose: true
build_tvOS:
runs-on: macOS-13
steps:
- uses: actions/checkout@v1
- name: Generate projects
run: make init
- name: Build lib
run: make build_lib_tvOS
- name: Build example
run: make build_example_tvOS
build_SPM:
runs-on: macOS-12
steps:
- uses: actions/checkout@v1
- name: Build
run: make build_example_SPM version=15.5