From ef8f958ef325157f6eb37e3b960b831498cd4ad5 Mon Sep 17 00:00:00 2001 From: yixinglu <2520865+yixinglu@users.noreply.github.com> Date: Thu, 14 Oct 2021 14:06:31 +0800 Subject: [PATCH] separate ctest and daemon process compiling --- .github/workflows/nightly.yml | 3 ++- .github/workflows/pull_request.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index f477bb6d05b..8090d5f54bd 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -114,10 +114,11 @@ jobs: -DENABLE_COVERAGE=on \ -B build echo "::set-output name=j::10" - echo "::set-output name=t::10" + echo "::set-output name=t::6" - name: Make run: | ccache -z + cmake --build build/ -j $(nproc) --target nebula-metad nebula-storaged nebula-graphd cmake --build build/ -j ${{ steps.cmake.outputs.t }} ccache -s - name: CTest diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 6f76ccba573..ff6427ae75f 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -97,7 +97,7 @@ jobs: -DENABLE_COVERAGE=on \ -B build echo "::set-output name=j::10" - echo "::set-output name=t::7" + echo "::set-output name=t::6" ;; esac ;; @@ -117,6 +117,7 @@ jobs: - name: Make run: | ccache -z + cmake --build build/ -j $(nproc) --target nebula-metad nebula-storaged nebula-graphd cmake --build build/ -j ${{ steps.cmake.outputs.t }} ccache -s - name: CTest