-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (37 loc) · 1016 Bytes
/
example_build.yml
File metadata and controls
39 lines (37 loc) · 1016 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
37
38
39
name: Example Build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
example_build:
name: Build Example (${{ matrix.platform }})
strategy:
fail-fast: false
matrix:
include:
- platform: iOS
destination: "platform=iOS Simulator,OS=18.5,name=iPhone 16 Pro"
- platform: macOS
destination: "platform=macOS"
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Setup Xcode
uses: OpenSwiftUIProject/setup-xcode@v2
with:
xcode-version: "16.4"
- name: Install mise
uses: jdx/mise-action@v2
with:
install: false
- name: Setup Example
run: ./Example/setup.sh
- name: Build
run: |
cd Example
set -o pipefail
mise exec -- tuist xcodebuild build \
-destination "${{ matrix.destination }}" \
2>&1 | xcbeautify --renderer github-actions --preserve-unbeautified