mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-09-12 21:30:02 -04:00
ci(rb-check): run verify-rb.sh under Isolated Projects again (#6988)
This commit is contained in:
1 parent
8ea30793d9
commit
9a70796690
1 file changed
+3
-3
@@ -12,11 +12,11 @@ trap 'rm -rf "$WORKDIR"' EXIT
|
||||
|
||||
echo "── Step 1: Verify aboutlibraries.json determinism ──"
|
||||
rm -f androidApp/src/main/resources/aboutlibraries.json
|
||||
./gradlew :androidApp:exportLibraryDefinitions -Pci=true -Dorg.gradle.isolated-projects=false --no-configuration-cache
|
||||
./gradlew :androidApp:exportLibraryDefinitions -Pci=true
|
||||
cp androidApp/src/main/resources/aboutlibraries.json "$WORKDIR/aboutlibraries-run1.json"
|
||||
|
||||
rm -f androidApp/src/main/resources/aboutlibraries.json
|
||||
./gradlew :androidApp:exportLibraryDefinitions -Pci=true -Dorg.gradle.isolated-projects=false --no-configuration-cache --rerun-tasks
|
||||
./gradlew :androidApp:exportLibraryDefinitions -Pci=true --rerun-tasks
|
||||
cp androidApp/src/main/resources/aboutlibraries.json "$WORKDIR/aboutlibraries-run2.json"
|
||||
|
||||
if ! diff -q "$WORKDIR/aboutlibraries-run1.json" "$WORKDIR/aboutlibraries-run2.json"; then
|
||||
@@ -27,7 +27,7 @@ fi
|
||||
echo "✅ aboutlibraries.json is deterministic"
|
||||
|
||||
echo "── Step 2: Build fdroid release APK ──"
|
||||
./gradlew :androidApp:assembleFdroidRelease -Pci=true -Pmeshtastic.disableAbiSplits=true -Dorg.gradle.isolated-projects=false --no-configuration-cache
|
||||
./gradlew :androidApp:assembleFdroidRelease -Pci=true -Pmeshtastic.disableAbiSplits=true
|
||||
|
||||
APK=$(find androidApp/build/outputs/apk/fdroid/release -name "*.apk" | head -1)
|
||||
if [ -z "$APK" ]; then
|
||||
|
||||
Reference in new issue
Block a user