mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-05-12 17:38:32 -04:00
Update build scripts (#1404)
This commit is contained in:
17
.github/actions/build-android-app/action.yml
vendored
17
.github/actions/build-android-app/action.yml
vendored
@@ -67,6 +67,23 @@ runs:
|
||||
ls -lh "$JNILIBS_DIR/$abi/libaliasvault_core.so" | awk '{print " " $NF ": " $5}'
|
||||
done
|
||||
|
||||
# Verify Kotlin bindings (UniFFI-generated)
|
||||
KOTLIN_BINDINGS_DIR="apps/mobile-app/android/app/src/main/java/net/aliasvault/app/rustcore/uniffi/aliasvault_core"
|
||||
if [ ! -d "$KOTLIN_BINDINGS_DIR" ]; then
|
||||
echo "❌ Missing Kotlin bindings directory: $KOTLIN_BINDINGS_DIR"
|
||||
echo "Run: cd core/rust && ./build.sh --android"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f "$KOTLIN_BINDINGS_DIR/aliasvault_core.kt" ]; then
|
||||
echo "❌ Missing Kotlin bindings file: $KOTLIN_BINDINGS_DIR/aliasvault_core.kt"
|
||||
echo "Run: cd core/rust && ./build.sh --android"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "✅ Kotlin bindings verified:"
|
||||
ls -lh "$KOTLIN_BINDINGS_DIR"/*.kt | awk '{print " " $NF ": " $5}'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user