forked from microsoft/fluentui-apple
-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (48 loc) · 1.66 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
46
47
48
49
50
51
name: CI
on:
push:
branches:
- main
- main_0.1
- vnext-prototype
pull_request:
branches:
- main
- main_0.1
- vnext-prototype
jobs:
validation:
runs-on: macos-10.15
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2
- 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-10.15
strategy:
fail-fast: false
matrix:
build_command: [
'macos_build FluentUITestApp-macOS Debug build test',
'macos_build FluentUITestApp-macOS Release build test',
'ios_simulator_build FluentUI-iOS Debug build test -destination "platform=iOS Simulator,name=iPhone 8"', # Provide a destination for the iOS simulator unit tests
'ios_simulator_build FluentUI-iOS Release build',
'ios_simulator_build FluentUI-iOS-StaticLib Debug build',
'ios_simulator_build FluentUI-iOS-StaticLib Release build',
'ios_device_build FluentUI-iOS-StaticLib Debug build',
'ios_device_build FluentUI-iOS-StaticLib Release build',
'ios_simulator_build Demo.Development Debug build',
'ios_simulator_build Demo.Development Release build',
'ios_device_build Demo.Development Debug build',
'ios_device_build Demo.Development Release build',
]
steps:
- uses: actions/checkout@v2
- name: scripts/xcodebuild_wrapper.sh ${{ matrix.build_command }}
run: scripts/xcodebuild_wrapper.sh ${{ matrix.build_command }}