Create swift.yml

This commit is contained in:
Dimitris C
2020-11-16 21:20:34 +00:00
committed by GitHub
parent 1097743d57
commit bb3e518d08
+25
View File
@@ -0,0 +1,25 @@
name: AudioStreaming CI
on:
push:
branches:
- master
- hotfix
pull_request:
branches:
- '*'
jobs:
build:
iOS:
name: Test iOS
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode_12.app/Contents/Developer
strategy:
matrix:
destination: ["OS=14.0,name=iPhone 11 Pro"] #, "OS=12.4,name=iPhone XS", "OS=11.4,name=iPhone X", "OS=10.3.1,name=iPhone SE"]
steps:
- uses: actions/checkout@v2
- name: iOS - ${{ matrix.destination }}
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "AudioStreaming.xcodeproj" -scheme "AudioStreaming" -destination "${{ matrix.destination }}" clean test | xcpretty