CI:降低 QEMU 编译并行度(-j2) 缓解内存压力,冒烟阶段加内存诊断
build-test-deploy / ci (push) Successful in 1h1m40s

This commit is contained in:
zjk
2026-08-14 22:56:10 +08:00
parent 0d40f13bd0
commit 90d892349a
2 changed files with 6 additions and 4 deletions
+3 -3
View File
@@ -48,9 +48,9 @@ RUN --mount=type=secret,id=gitea_token \
#-----------------------------------------------------------------------
WORKDIR /opt/moos-ivp
RUN ./build-moos.sh -m -j"$(nproc)" && \
RUN ./build-moos.sh -m -j2 && \
make -C build/MOOS/MOOSCore install && \
./build-ivp.sh -n -j"$(nproc)" && \
./build-ivp.sh -n -j2 && \
make -C build/ivp install && \
ldconfig
@@ -75,7 +75,7 @@ RUN --mount=type=secret,id=gitea_token \
git clone --depth 1 "https://zjk:${TOKEN}@gitea2.zhaojingkui.xyz/zjk/googletest.git" /opt/googletest; \
mkdir -p /opt/googletest/build && cd /opt/googletest/build && \
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_GMOCK=ON .. && \
make -j"$(nproc)" && \
make -j2 && \
make install && \
ldconfig