-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (31 loc) · 1.02 KB
/
BuildTest.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
name: Build Test
on:
push:
branches:
- main
- 'develop'
- 'feature/**'
- 'test/**'
- 'refactor/**'
pull_request:
branches:
- main
- 'develop'
- 'feature/**'
jobs:
build:
runs-on: macos-latest
steps:
- uses: maxim-lobanov/setup-xcode@v1.5.1
with:
xcode-version: '14.2'
- uses: actions/checkout@v3
- name: Build Xcode
run: |
xcodebuild clean build -project FanFollow/FanFollow.xcodeproj -scheme FanFollow -destination "platform=iOS Simulator,name=iPhone 11 Pro,OS=latest"
- name: Unit Test Build
run: |
xcodebuild clean build-for-testing -project FanFollow/FanFollow.xcodeproj -scheme FanFollow -destination "platform=iOS Simulator,name=iPhone 11 Pro,OS=latest"
- name: Unit Testing
run : |
xcodebuild test-without-building -scheme FanFollow -project FanFollow/FanFollow.xcodeproj -destination "platform=iOS Simulator,name=iPhone 11 Pro,OS=latest"