From bb3e518d0849a55cdfbf84209fefccb5ed56aba7 Mon Sep 17 00:00:00 2001 From: Dimitris C Date: Mon, 16 Nov 2020 21:20:34 +0000 Subject: [PATCH] Create swift.yml --- .github/workflows/swift.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/swift.yml diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml new file mode 100644 index 0000000..8ba1a48 --- /dev/null +++ b/.github/workflows/swift.yml @@ -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