-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 1.07 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
name: Build
on: [push, pull_request]
jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@master
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- uses: sersoft-gmbh/xcodebuild-action@v3
with:
spm-package: "./"
scheme: CommandBarIOS
destination: platform=iOS Simulator,OS=16.2,name=iPhone 14
action: build
# - name: Switch XCode Version
# run: sudo xcode-select -s /Applications/Xcode.app
# - name: Install Dependences
# run: |
# cd Example
# pod repo update
# pod install
# shell: bash
# - name: Test and Lint
# uses: ty0x2333/cocoapods-action@master
# with:
# additional_build_params: -destination 'platform=iOS Simulator,name=iPhone 14,OS=16.2'
# additional_lint_params: --private