Skip to content

Commit

Permalink
Separate ctest and daemon process compiling to avoid OOM in action ru…
Browse files Browse the repository at this point in the history
…nners (#3046)
  • Loading branch information
yixinglu authored Oct 14, 2021
1 parent e1ff44f commit 23ea4fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand All @@ -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
Expand Down

0 comments on commit 23ea4fa

Please sign in to comment.