From bb231a21b66ff7f1497802dc6d0f66d39160a744 Mon Sep 17 00:00:00 2001 From: Martin Dutra Date: Tue, 30 Nov 2021 16:00:09 -0300 Subject: [PATCH] create swift.yml --- .github/workflows/swift.yml | 19 +++++++++++++++++++ 1 file changed, 19 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..f306561 --- /dev/null +++ b/.github/workflows/swift.yml @@ -0,0 +1,19 @@ +name: Swift + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: macos-latest + + steps: + - uses: actions/checkout@v2 + - name: Build for iOS + run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild build-for-testing -scheme Logger -destination "platform=iOS Simulator,OS=latest,name=iPhone 12" | xcpretty + - name: Run iOS tests + run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild test-without-building -scheme Logger -destination "platform=iOS Simulator,OS=latest,name=iPhone 12" | xcpretty