mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-19 20:29:15 +00:00
rankmyfavs, foodyou: use 16 cores
This commit is contained in:
parent
3325f4718b
commit
ced218d127
2 changed files with 21 additions and 26 deletions
|
|
@ -189,22 +189,20 @@ Builds:
|
|||
commit: a025dad7a3f00e0884e84debb3a6ac6a6bbb48b9
|
||||
subdir: app
|
||||
sudo:
|
||||
- export CPUS_MAX=6
|
||||
- export CPUS_MAX=16
|
||||
- export CPUS=$(getconf _NPROCESSORS_ONLN)
|
||||
- for (( c=$CPUS_MAX; c<$CPUS; c++ )) ; do echo 0 > /sys/devices/system/cpu/cpu$c/online
|
||||
; done
|
||||
output: build/outputs/apk/release/*.apk
|
||||
build:
|
||||
- mkdir upstream
|
||||
- pushd upstream
|
||||
gradle:
|
||||
- yes
|
||||
postbuild:
|
||||
- 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
|
||||
- unzip -q upstream.apk -d apk
|
||||
- export hash=$(sha256sum apk/assets/dexopt/baseline.prof)
|
||||
- rm -rf apk upstream.apk
|
||||
- for i in {1..10}; do unzip -q $$OUT$$ -d apk; sha256sum -c - <<< $hash &&
|
||||
break; sha256sum apk/assets/dexopt/baseline.prof; rm -fr apk; gradle clean
|
||||
assembleRelease; done
|
||||
|
||||
AllowedAPKSigningKeys: ea7195cfce638ae6b1a8002ddc0d4863366095ea5b8d95c1cd5e25db0fe2e7c3
|
||||
|
||||
|
|
|
|||
|
|
@ -30,23 +30,20 @@ Builds:
|
|||
commit: 1.1.0
|
||||
subdir: app
|
||||
sudo:
|
||||
- export CPUS_MAX=6
|
||||
- export CPUS_MAX=16
|
||||
- export CPUS=$(getconf _NPROCESSORS_ONLN)
|
||||
- for (( c=$CPUS_MAX; c<$CPUS; c++ )) ; do echo 0 > /sys/devices/system/cpu/cpu$c/online
|
||||
; done
|
||||
output: build/outputs/apk/release/*apk
|
||||
prebuild: gradle clean
|
||||
build:
|
||||
- mkdir upstream
|
||||
- pushd upstream
|
||||
- curl -L -o upstream.apk https://github.com/maksimowiczm/FoodYou/releases/download/$$VERSION$$/food-you-$$VERSION$$.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
|
||||
gradle:
|
||||
- yes
|
||||
postbuild:
|
||||
- curl -Lo upstream.apk https://github.com/maksimowiczm/FoodYou/releases/download/$$VERSION$$/food-you-$$VERSION$$.apk
|
||||
- unzip -q upstream.apk -d apk
|
||||
- export hash=$(sha256sum apk/assets/dexopt/baseline.prof)
|
||||
- rm -rf apk upstream.apk
|
||||
- for i in {1..10}; do unzip -q $$OUT$$ -d apk; sha256sum -c - <<< $hash &&
|
||||
break; sha256sum apk/assets/dexopt/baseline.prof; rm -fr apk; gradle clean
|
||||
assembleRelease; done
|
||||
|
||||
AllowedAPKSigningKeys: cd74b0aedd8ead8184063a65909d639a8c885cf6465829690a9be83a8904bdea
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue