-
-
Notifications
You must be signed in to change notification settings - Fork 11
27 lines (23 loc) · 748 Bytes
/
ci.yml
File metadata and controls
27 lines (23 loc) · 748 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
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: Swift
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
PACKAGE: MapItemPicker
jobs:
ios:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Setup Xcode 16
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 16
- name: Build (iOS)
run: xcodebuild build -scheme $PACKAGE -sdk iphoneos -destination 'generic/platform=iOS,name=iPhone 15'
- name: Test (iOS)
run: xcodebuild test -scheme $PACKAGE -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 15'