修改3
Some checks failed
Build and Release / build-and-test (alpine) (push) Failing after 5m57s
Build and Release / build-and-test (ubuntu) (push) Failing after 6m15s
Build and Release / docker-images (push) Has been skipped
Build and Release / release (push) Has been skipped

This commit is contained in:
2025-12-02 13:04:38 +08:00
parent 6a7e4ae6c6
commit 28a67a26b1
2 changed files with 4 additions and 4 deletions

View File

@@ -43,9 +43,9 @@ COPY ./init.sh ./init.sh
RUN chmod +x ./init.sh && ./init.sh && \
mkdir build && cd scripts && chmod +x ./*.sh && \
if [ "$BUILDPLATFORM" != "$TARGETPLATFORM" ]; then \
MAKE_JOBS="-j8"; \
MAKE_JOBS="-j2"; \
else \
MAKE_JOBS="-j32"; \
MAKE_JOBS="-j$(nproc)"; \
fi && \
echo "Building with parallel jobs: $MAKE_JOBS (cross-compile: $([ "$BUILDPLATFORM" != "$TARGETPLATFORM" ] && echo yes || echo no))" && \
./build_deps.sh $MAKE_JOBS && cd ../build && \