ci: reduce threads available to build

This commit is contained in:
izzy
2025-05-09 22:59:51 +01:00
parent f98f09a5ea
commit a8a2e491b0

View File

@@ -56,9 +56,9 @@ deps() {
tee crates/core/result/src/lib.rs
if [ -z "$TARGETARCH" ]; then
cargo build -j 24 --locked --release
cargo build -j 10 --locked --release
else
cargo build -j 24 --locked --release --target "${BUILD_TARGET}"
cargo build -j 10 --locked --release --target "${BUILD_TARGET}"
fi
}
@@ -77,9 +77,9 @@ apps() {
crates/core/result/src/lib.rs
if [ -z "$TARGETARCH" ]; then
cargo build -j 24 --locked --release
cargo build -j 10 --locked --release
else
cargo build -j 24 --locked --release --target "${BUILD_TARGET}"
cargo build -j 10 --locked --release --target "${BUILD_TARGET}"
mv target _target && mv _target/"${BUILD_TARGET}" target
fi
}