mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-07-22 05:44:54 +00:00
rankmyfavs - retry hash back
This commit is contained in:
parent
9ac0751525
commit
11928c8bf4
1 changed files with 13 additions and 3 deletions
|
|
@ -189,12 +189,22 @@ Builds:
|
||||||
commit: a025dad7a3f00e0884e84debb3a6ac6a6bbb48b9
|
commit: a025dad7a3f00e0884e84debb3a6ac6a6bbb48b9
|
||||||
subdir: app
|
subdir: app
|
||||||
sudo:
|
sudo:
|
||||||
- export CPUS_MAX=16
|
- export CPUS_MAX=6
|
||||||
- export CPUS=$(getconf _NPROCESSORS_ONLN)
|
- export CPUS=$(getconf _NPROCESSORS_ONLN)
|
||||||
- for (( c=$CPUS_MAX; c<$CPUS; c++ )) ; do echo 0 > /sys/devices/system/cpu/cpu$c/online
|
- for (( c=$CPUS_MAX; c<$CPUS; c++ )) ; do echo 0 > /sys/devices/system/cpu/cpu$c/online
|
||||||
; done
|
; done
|
||||||
gradle:
|
output: build/outputs/apk/release/*.apk
|
||||||
- yes
|
build:
|
||||||
|
- mkdir upstream
|
||||||
|
- pushd upstream
|
||||||
|
- curl -L -o upstream.apk https://github.com/dessalines/rank-my-favs/releases/download/$$VERSION$$/app-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 assembleRelease; mkdir local; pushd local;
|
||||||
|
unzip -q ../build/outputs/apk/release/*.apk; export localhash=$(sha256sum
|
||||||
|
assets/dexopt/baseline.prof|cut -d " " -f1); [[ $localhash == $upstreamhash
|
||||||
|
]] && break ; popd; rm -fr local; done
|
||||||
|
|
||||||
AllowedAPKSigningKeys: ea7195cfce638ae6b1a8002ddc0d4863366095ea5b8d95c1cd5e25db0fe2e7c3
|
AllowedAPKSigningKeys: ea7195cfce638ae6b1a8002ddc0d4863366095ea5b8d95c1cd5e25db0fe2e7c3
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue