-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: buildkite pipeline * ci: remove GHA unit test steps * ci: link against right sdk version
- Loading branch information
1 parent
8cea0e0
commit 763abe3
Showing
4 changed files
with
53 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
agents: | ||
queue: "macOS-Monterey-12-4" | ||
|
||
steps: | ||
- command: "./scripts/run-unit-tests.sh MuxPlayerSwift" | ||
label: ":xcode_simulator: Unit Test Pass" | ||
- wait | ||
- command: "./scripts/run-ui-tests.sh MuxPlayerSwiftExample" | ||
label: ":xcode_simulator: Baseline Unit Test Pass" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#!/bin/bash | ||
|
||
readonly XCODE=$(xcodebuild -version | grep Xcode | cut -d " " -f2) | ||
|
||
set -euo pipefail | ||
|
||
if [ $# -ne 1 ]; then | ||
echo "▸ Usage: $0 SCHEME" | ||
exit 1 | ||
fi | ||
|
||
readonly SCHEME="$1" | ||
|
||
if ! command -v xcbeautify &> /dev/null | ||
then | ||
echo -e "\033[1;31m ERROR: xcbeautify could not be found please install it... \033[0m" | ||
exit 1 | ||
fi | ||
|
||
echo "▸ Using Xcode Version: ${XCODE}" | ||
|
||
echo "▸ Available Xcode SDKs" | ||
|
||
xcodebuild -showsdks | ||
|
||
echo "▸ Resolve Package Dependencies" | ||
|
||
xcodebuild -resolvePackageDependencies | ||
|
||
cd Examples/MuxPlayerSwiftExample | ||
|
||
echo "▸ Available Schemes" | ||
|
||
xcodebuild -list -json | ||
|
||
echo "▸ Test ${SCHEME}" | ||
|
||
xcodebuild clean test \ | ||
-scheme $SCHEME \ | ||
-destination 'platform=iOS Simulator,OS=18.0,name=iPhone 16' \ | ||
-sdk iphonesimulator18.0 \ | ||
| xcbeautify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters