mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-19 20:29:15 +00:00
sdmse - loop until baseline hash matches
This commit is contained in:
parent
105b00333c
commit
9f8d288920
1 changed files with 12 additions and 9 deletions
|
|
@ -112,18 +112,21 @@ Builds:
|
|||
versionCode: 10208000
|
||||
commit: 34615e47713ec96b8162725266c5e88abffb8d44
|
||||
subdir: app
|
||||
sudo:
|
||||
- apt-get update
|
||||
- apt-get install zip
|
||||
- export CPUS_MAX=6
|
||||
- export CPUS=$(getconf _NPROCESSORS_ONLN)
|
||||
- for (( c=$CPUS_MAX; c<$CPUS; c++ )) ; do echo 0 > /sys/devices/system/cpu/cpu$c/online
|
||||
; done
|
||||
gradle:
|
||||
- foss
|
||||
output: build/outputs/apk/foss/release/eu.darken.sdmse-*-RELEASE.apk
|
||||
rm:
|
||||
- crowdin-cli.jar
|
||||
- tooling/testdata-generator/dirt-sources.zip
|
||||
build:
|
||||
- mkdir upstream
|
||||
- pushd upstream
|
||||
- curl -L -o upstream.apk https://github.com/d4rken-org/sdmaid-se/releases/download/v$$VERSION$$/eu.darken.sdmse-v$$VERSION$$-$$VERCODE$$-FOSS-RELEASE.apk
|
||||
- unzip -q upstream.apk
|
||||
- export upstreamhash=$(sha256sum assets/dexopt/baseline.prof|cut -d " " -f1)
|
||||
- popd
|
||||
- for i in {1..10}; do gradle clean assembleFossRelease; mkdir local; pushd
|
||||
local; unzip -q ../build/outputs/apk/foss/release/eu.darken.sdmse-*-RELEASE.apk;
|
||||
export localhash=$(sha256sum assets/dexopt/baseline.prof|cut -d " " -f1);
|
||||
[[ $localhash == $upstreamhash ]] && break ; popd; rm -fr local; done
|
||||
|
||||
AllowedAPKSigningKeys: f490032be5383f55900495fa7fc207ece2e786a5c2c6cc52027b99548a9ce938
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue