musicsearch: use 4 cores

This commit is contained in:
linsui 2025-09-11 18:57:19 +08:00
parent 89fe4b8dc7
commit 40ef29e287

View file

@ -1221,32 +1221,6 @@ Builds:
scandelete:
- build-logic/convention/build
- versionName: 1.64.0
versionCode: 722
commit: 5ce76f1b85bb9faabb055f3e6e8fd3f151661884
subdir: android/app
sudo:
- echo "deb http://deb.debian.org/debian trixie main" > /etc/apt/sources.list.d/trixie.list
- apt-get update
- apt-get install -y openjdk-21-jdk-headless
- update-java-alternatives -a
- 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
gradle:
- fDroid
prebuild:
- echo "TVVTSUNCUkFJTlpfQ0xJRU5UX0lEPWtpbVpiWXlaYUVia2Ewb0Npb1ExNUdINWhlNFp4dGtXCg=="
| base64 -d > ../../not_so_secret.properties
- echo "TVVTSUNCUkFJTlpfQ0xJRU5UX1NFQ1JFVD00ZVlINmpqRzBVVm1GRGN1Yk1CSThrVVlxT18xVkxHRAo="
| base64 -d >> ../../not_so_secret.properties
- sed -i -e '/firebase/d' -e '/google.services/d' ../../build.gradle.kts
- sed -i -e 's/\.debug//' ../../shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/Constants.kt
- sed -i -e '/iosMain/,/^ }/d' ../../shared/build.gradle.kts ../../core/logging/implementation/build.gradle.kts
scandelete:
- build-logic/convention/build
- versionName: 1.64.1
versionCode: 723
commit: 099ab98cf50e23d04c38e793826c6798773af511
@ -1256,7 +1230,7 @@ Builds:
- apt-get update
- apt-get install -y openjdk-21-jdk-headless
- update-java-alternatives -a
- export CPUS_MAX=16
- export CPUS_MAX=4
- export CPUS=$(getconf _NPROCESSORS_ONLN)
- for (( c=$CPUS_MAX; c<$CPUS; c++ )) ; do echo 0 > /sys/devices/system/cpu/cpu$c/online
; done