feat(kotlin-compose): finalize design system + apps + sync sub-repo gitlinks
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#!/usr/bin/env bash
|
||||
# E2E playground tables. Compila + corre self-test linux + windows (si
|
||||
# mingw esta disponible). Sale 0 si todo pasa.
|
||||
set -euo pipefail
|
||||
|
||||
ROOT="${FN_REGISTRY_ROOT:-$(cd "$(dirname "$0")/../../../../.." && pwd)}"
|
||||
cd "$ROOT"
|
||||
|
||||
echo "[e2e] linux build + self_test"
|
||||
cmake -B cpp/build -S cpp >/dev/null
|
||||
cmake --build cpp/build --target tables_playground_self_test -j"$(nproc)" >/dev/null
|
||||
./cpp/build/apps/primitives_gallery/playground/tables/tables_playground_self_test
|
||||
|
||||
if command -v x86_64-w64-mingw32-g++ >/dev/null 2>&1; then
|
||||
echo "[e2e] windows cross-build (mingw)"
|
||||
source "$ROOT/bash/functions/infra/build_cpp_windows.sh"
|
||||
build_cpp_windows tables_playground_self_test >/dev/null
|
||||
echo "[e2e] windows self_test via wine si disponible"
|
||||
EXE="$ROOT/cpp/build/windows/apps/primitives_gallery/playground/tables/tables_playground_self_test.exe"
|
||||
if [ -f "$EXE" ]; then
|
||||
if command -v wine >/dev/null 2>&1; then
|
||||
wine "$EXE" || { echo "[e2e] FAIL windows self_test (wine)"; exit 1; }
|
||||
else
|
||||
echo "[e2e] SKIP wine no instalado; binario en $EXE"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "[e2e] OK"
|
||||
Reference in New Issue
Block a user