-
Notifications
You must be signed in to change notification settings - Fork 4
39 lines (36 loc) · 1 KB
/
build-TogglesDemo.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
name: TogglesDemo
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
XCODE_VERSION: 14.0.1
jobs:
test:
name: Build
runs-on: macos-12
steps:
- name: Show macOS version
run: sw_vers
- name: Code Checkout
uses: actions/checkout@v2
- name: Select Xcode
uses: ./.github/actions/select-xcode
with:
xcode-version: ${{ env.XCODE_VERSION }}
- name: Check xcodebuild version
run: xcodebuild -version
- name: Check xcode embedded SDKs
run: xcodebuild -showsdks
- name: Show buildable schemes
working-directory: ./TogglesDemo
run: xcodebuild -list
- name: Show eligible build destinations for TogglesDemo
working-directory: ./TogglesDemo
run: xcodebuild -showdestinations -scheme TogglesDemo
- name: Build for destination TogglesDemo
working-directory: ./TogglesDemo
run: xcodebuild build -scheme TogglesDemo -destination "platform=iOS Simulator,OS=16.0,name=iPhone 14 Pro"