diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 3151224ffbf..51d57b2ce58 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -120,7 +120,7 @@ jobs: cmake --build build/ -j $(nproc) --target nebula-metad cmake --build build/ -j $(nproc) --target nebula-storaged cmake --build build/ -j $(nproc) --target nebula-graphd - cmake --build build/ -j $(($(nproc)/2+1)) + cmake --build build/ -j $(($(nproc)/3+1)) ccache -s - name: CTest env: diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index f6f06c6ccf1..625b24be1de 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -117,7 +117,7 @@ jobs: cmake --build build/ -j $(nproc) --target nebula-metad cmake --build build/ -j $(nproc) --target nebula-storaged cmake --build build/ -j $(nproc) --target nebula-graphd - cmake --build build/ -j $(($(nproc)/2+1)) + cmake --build build/ -j $(($(nproc)/3+1)) ccache -s - name: CTest env: