-
Notifications
You must be signed in to change notification settings - Fork 171
45 lines (42 loc) · 1.32 KB
/
ci.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
name: CI
on:
push:
branches:
- main
- main_*
pull_request:
branches:
- main
- main_*
jobs:
validation:
runs-on: macos-13
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v3
- name: Switch to current version of Xcode
run: scripts/xcode_select_current_version.sh
- name: pod lib lint
run: scripts/podliblint.sh
- name: validation
run: scripts/validation.sh
xcodebuild:
runs-on: macos-13
strategy:
fail-fast: false
matrix:
build_command: [
'macos_build FluentUITestApp-macOS Release build test',
'macos_build FluentUITestApp-macOS Debug build test -destination "platform=macOS,arch=x86_64"',
'ios_simulator_build Demo.Development Debug build test -destination "platform=iOS Simulator,name=iPhone 14 Pro" -test-iterations "2" -retry-tests-on-failure',
'ios_device_build Demo.Development Release build',
]
steps:
- uses: actions/checkout@v3
- name: Switch to current version of Xcode
run: scripts/xcode_select_current_version.sh
- name: Install xcbeautify
run: brew install xcbeautify
- name: scripts/xcodebuild_wrapper.sh ${{ matrix.build_command }} | xcbeautify
run: scripts/xcodebuild_wrapper.sh ${{ matrix.build_command }} | xcbeautify