mirror of
https://github.com/zhigang1992/Argo.git
synced 2026-01-12 22:45:56 +08:00
Previously we were _only_ running tests on CI against the mac target. This seems short sighted. Instead, lets make sure we can build for all of our supported platforms, running the tests on the platforms that support it.
32 lines
661 B
Bash
Executable File
32 lines
661 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
set -o pipefail
|
|
|
|
xcrun xcodebuild \
|
|
-workspace Argo.xcworkspace \
|
|
-scheme Argo-Mac \
|
|
test \
|
|
| xcpretty --color
|
|
|
|
xcrun xcodebuild \
|
|
-workspace Argo.xcworkspace \
|
|
-scheme Argo-iOS \
|
|
-destination "platform=iOS Simulator,name=iPhone 6" \
|
|
test \
|
|
| xcpretty --color
|
|
|
|
xcrun xcodebuild \
|
|
-workspace Argo.xcworkspace \
|
|
-scheme Argo-watchOS \
|
|
-destination "generic/platform=watchOS" \
|
|
CODE_SIGNING_REQUIRED=NO \
|
|
CODE_SIGN_IDENTITY="" \
|
|
| xcpretty --color
|
|
|
|
xcrun xcodebuild \
|
|
-workspace Argo.xcworkspace \
|
|
-scheme Argo-tvOS \
|
|
-destination "platform=tvOS Simulator,name=Apple TV 1080p" \
|
|
test \
|
|
| xcpretty --color
|