-
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (37 loc) · 1.23 KB
/
ios.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
40
41
42
name: iOS starter workflow
on:
workflow_dispatch:
push:
branches: [ "development" ]
pull_request:
branches: [ "development" ]
jobs:
build:
name: Build and Test default scheme using any available iPhone simulator
runs-on: macos-13
strategy:
matrix:
include:
- xcode: "14.3"
ios: "15.1"
steps:
- uses: actions/checkout@v3
- name: Xcode Setup
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.0'
# - name: Select Xcode
# run: sudo xcode-select -switch /Applications/Xcode_14.3.app
- name: Build
run: xcodebuild clean build -scheme Petto -project Petto.xcodeproj -destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=17.0'
- name: Test
run: xcodebuild test -scheme Petto -project Petto.xcodeproj -destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=17.0'
# - name: Build
# run: |
# xcodebuild build -scheme Petto -project Petto.xcodeproj clean build -destination "generic/platform=iOS" CODE_SIGNING_ALLOWED=No
# - uses: sersoft-gmbh/xcodebuild-action@v2
# with:
# project: Petto.xcodeproj
# scheme: Petto
# destination: platform=iOS
# action: build