CI:回滚镜像构建 -j2(QEMU 下 MOOS 全量编译 -j2 会超时),仅保留测试阶段 make -j2 降内存
build-test-deploy / ci (push) Successful in 19m7s

This commit is contained in:
zjk
2026-08-14 23:07:15 +08:00
parent 90d892349a
commit a6da5e3ae9
+3 -3
View File
@@ -48,9 +48,9 @@ RUN --mount=type=secret,id=gitea_token \
#-----------------------------------------------------------------------
WORKDIR /opt/moos-ivp
RUN ./build-moos.sh -m -j2 && \
RUN ./build-moos.sh -m -j"$(nproc)" && \
make -C build/MOOS/MOOSCore install && \
./build-ivp.sh -n -j2 && \
./build-ivp.sh -n -j"$(nproc)" && \
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 -j2 && \
make -j"$(nproc)" && \
make install && \
ldconfig