-
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (24 loc) · 620 Bytes
/
ci.yml
File metadata and controls
30 lines (24 loc) · 620 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
name: iOS CI
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install XcodeGen
run: brew install xcodegen
- name: Generate Xcode project
run: xcodegen generate
- name: Build for iOS Simulator
run: |
xcodebuild \
-project ESP32-DFU.xcodeproj \
-scheme ESP32-DFU \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone 15' \
CODE_SIGNING_ALLOWED=NO \
build