-
-
Notifications
You must be signed in to change notification settings - Fork 97
36 lines (34 loc) · 1009 Bytes
/
build_example_project.yml
File metadata and controls
36 lines (34 loc) · 1009 Bytes
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
name: Build Example Project
on:
workflow_dispatch: {}
pull_request:
branches:
- main
- develop
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build example project (Xcode ${{ matrix.xcode }})
runs-on: macos-latest
strategy:
matrix:
include:
- xcode: 16.1
destination: iPhone 16 Pro
os: 18.1
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Select Xcode version
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Build
run: |
set -o pipefail &&\
xcodebuild build\
-project Example/Example.xcodeproj\
-scheme Example\
-sdk iphonesimulator\
-destination "platform=iOS Simulator,name=${{ matrix.destination }},OS=${{ matrix.os }}"\
| xcbeautify --renderer github-actions