forked from alexaubry/HTMLString
-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (20 loc) · 782 Bytes
/
xcodebuild.yml
File metadata and controls
26 lines (20 loc) · 782 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
name: Xcode
env:
DEVELOPER_DIR: /Applications/Xcode_12.app/Contents/Developer
on:
push:
branches: [ main ]
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
run-config:
- { scheme: 'HTMLString-iOS', destination: 'platform=iOS Simulator,OS=14.0,name=iPhone SE (2nd generation)' }
- { scheme: 'HTMLString-macOS', destination: 'platform=macOS' }
- { scheme: 'HTMLString-tvOS', destination: 'platform=tvOS Simulator,OS=14.0,name=Apple TV' }
steps:
- name: Checkout Project
uses: actions/checkout@v2
- name: build and test
run: xcodebuild clean test -scheme '${{ matrix.run-config['scheme'] }}' -destination '${{ matrix.run-config['destination'] }}' -showBuildTimingSummary