Integrate live phone and watch remote prototype with guarded motion control
This commit is contained in:
+6
-7
@@ -6,13 +6,12 @@ trap 'rm -rf "$scratch"' EXIT
|
||||
export CLANG_MODULE_CACHE_PATH="$scratch/clang-cache"
|
||||
export SWIFTPM_MODULECACHE_OVERRIDE="$scratch/module-cache"
|
||||
# These local packages have no third-party dependencies or plugins. Disable nested SwiftPM sandboxing
|
||||
# for agent environments; Swift Testing does not need the XCTest bundle runner.
|
||||
swift test --package-path Packages/WristivoKit --scratch-path "$scratch/swiftpm" \
|
||||
--cache-path "$scratch/cache" --config-path "$scratch/config" \
|
||||
--security-path "$scratch/security" --disable-sandbox --disable-xctest
|
||||
swift test --package-path Adapters/WatchBridge --scratch-path "$scratch/watchbridge" \
|
||||
--cache-path "$scratch/cache" --config-path "$scratch/config" \
|
||||
--security-path "$scratch/security" --disable-sandbox --disable-xctest
|
||||
# for agent environments. All adapter tests must execute, not merely compile.
|
||||
for package in Packages/WristivoKit Adapters/WatchBridge Adapters/TVTransport Adapters/SecureStorage Adapters/PhoneControl; do
|
||||
swift test --package-path "$package" --scratch-path "$scratch/$(basename "$package")" \
|
||||
--cache-path "$scratch/cache" --config-path "$scratch/config" \
|
||||
--security-path "$scratch/security" --disable-sandbox
|
||||
done
|
||||
plutil -lint Resources/PrivacyInfo.xcprivacy
|
||||
if [ "${1:-}" = "--apps" ]; then
|
||||
extra_args=()
|
||||
|
||||
Reference in New Issue
Block a user