-
Notifications
You must be signed in to change notification settings - Fork 182
37 lines (27 loc) · 1.11 KB
/
ci.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
name: Xcode
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
run-config:
- { scheme: 'Fakery-iOS', destination: 'platform=iOS Simulator,name=iPhone 13 Pro,OS=15.2' }
- { scheme: 'Fakery-macOS', destination: 'platform=macOS' }
steps:
- name: Checkout Project
uses: actions/checkout@v1
- name: Show the currently detailed version of Xcode for CLI
run: xcode-select -p
- name: Show Build Settings
run: xcodebuild -project Fakery.xcodeproj -scheme '${{ matrix.run-config['scheme'] }}' -showBuildSettings
- name: Show Build SDK
run: xcodebuild -project Fakery.xcodeproj -scheme '${{ matrix.run-config['scheme'] }}' -showsdks
- name: Show Available Destinations
run: xcodebuild -project Fakery.xcodeproj -scheme '${{ matrix.run-config['scheme'] }}' -showdestinations
- name: build and test
run: xcodebuild clean test -scheme '${{ matrix.run-config['scheme'] }}' -destination '${{ matrix.run-config['destination'] }}' -showBuildTimingSummary