Stabilize iOS/watchOS/tvOS apps and add cross-platform audit remediation
This commit is contained in:
21
scripts/smoke/smoke_all.sh
Executable file
21
scripts/smoke/smoke_all.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
||||
cd "$ROOT_DIR"
|
||||
|
||||
./scripts/ci/scan_tokens.sh
|
||||
|
||||
cd SharedCore
|
||||
export SWIFTPM_MODULECACHE_OVERRIDE="${TMPDIR:-/tmp}/werkout_swiftpm_module_cache"
|
||||
export CLANG_MODULE_CACHE_PATH="${TMPDIR:-/tmp}/werkout_clang_module_cache"
|
||||
export XDG_CACHE_HOME="${TMPDIR:-/tmp}/werkout_xdg_cache"
|
||||
mkdir -p "$SWIFTPM_MODULECACHE_OVERRIDE" "$CLANG_MODULE_CACHE_PATH" "$XDG_CACHE_HOME"
|
||||
swift test --disable-sandbox --scratch-path "${TMPDIR:-/tmp}/werkout_sharedcore_scratch"
|
||||
cd "$ROOT_DIR"
|
||||
|
||||
./scripts/smoke/build_ios.sh
|
||||
./scripts/smoke/build_watch.sh
|
||||
./scripts/smoke/build_tvos.sh
|
||||
|
||||
echo "Smoke suite passed (token scan + SharedCore tests + iOS/watchOS/tvOS builds)."
|
||||
Reference in New Issue
Block a user