Skip to content

Commit 59cea79

Browse files
committed
Added macOS & tvOS xcodebuild tests
1 parent 073e9be commit 59cea79

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Demo/buddybuild_postbuild.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
## Run macOS Tests
6+
echo "\033[0;32mRunning macOS Tests\033[0m"
7+
xcodebuild -workspace 'Demo.xcworkspace' -scheme 'RxViewModelTests-macOS' -configuration 'Debug' -sdk macosx -destination arch='x86_64' test | xcpretty -c --test
8+
9+
## Run tvOS Tests
10+
echo "\033[0;32mRunning tvOS Tests\033[0m"
11+
xcodebuild -workspace 'Demo.xcworkspace' -scheme 'RxViewModelTests-tvOS' -configuration 'Debug' -sdk appletvsimulator10.2 -destination name='Apple TV 1080p' test | xcpretty -c --test

0 commit comments

Comments
 (0)