From b349033c7104917012efbc4707c1a51ba46e841a Mon Sep 17 00:00:00 2001 From: George <58841610+Shinji-IkariG@users.noreply.github.com> Date: Fri, 10 Feb 2023 16:03:42 +0800 Subject: [PATCH 1/5] add mold linker --- .github/workflows/pull_request.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index ff1d72c25f0..f6f2dfbd037 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -106,6 +106,7 @@ jobs: cmake \ -DCMAKE_CXX_COMPILER=$TOOLSET_GCC_DIR/bin/g++ \ -DCMAKE_C_COMPILER=$TOOLSET_GCC_DIR/bin/gcc \ + -Dcmake -DNEBULA_USE_LINKER=mold \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_TESTING=on \ -GNinja \ @@ -117,6 +118,7 @@ jobs: cmake \ -DCMAKE_CXX_COMPILER=$TOOLSET_GCC_DIR/bin/g++ \ -DCMAKE_C_COMPILER=$TOOLSET_GCC_DIR/bin/gcc \ + -Dcmake -DNEBULA_USE_LINKER=mold \ -DCMAKE_BUILD_TYPE=Debug \ -DENABLE_TESTING=on \ -DENABLE_COVERAGE=on \ @@ -131,6 +133,7 @@ jobs: cmake \ -DCMAKE_CXX_COMPILER=$TOOLSET_CLANG_DIR/bin/clang++ \ -DCMAKE_C_COMPILER=$TOOLSET_CLANG_DIR/bin/clang \ + -Dcmake -DNEBULA_USE_LINKER=mold \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DENABLE_MEMORY_TRACKER=off \ -DENABLE_ASAN=on \ From 7e6228130c85ad0676cb84c3451f1e17b7b74fbe Mon Sep 17 00:00:00 2001 From: George <58841610+Shinji-IkariG@users.noreply.github.com> Date: Fri, 10 Feb 2023 16:06:05 +0800 Subject: [PATCH 2/5] Update pull_request.yml fix typo --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index f6f2dfbd037..6ce442b853c 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -106,7 +106,7 @@ jobs: cmake \ -DCMAKE_CXX_COMPILER=$TOOLSET_GCC_DIR/bin/g++ \ -DCMAKE_C_COMPILER=$TOOLSET_GCC_DIR/bin/gcc \ - -Dcmake -DNEBULA_USE_LINKER=mold \ + -DNEBULA_USE_LINKER=mold \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_TESTING=on \ -GNinja \ From 59f918b80f213dfb0b78c1d84194ae2b0aad1513 Mon Sep 17 00:00:00 2001 From: George <58841610+Shinji-IkariG@users.noreply.github.com> Date: Fri, 10 Feb 2023 16:06:32 +0800 Subject: [PATCH 3/5] Update pull_request.yml fix typo --- .github/workflows/pull_request.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 6ce442b853c..918b2d34403 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -118,7 +118,7 @@ jobs: cmake \ -DCMAKE_CXX_COMPILER=$TOOLSET_GCC_DIR/bin/g++ \ -DCMAKE_C_COMPILER=$TOOLSET_GCC_DIR/bin/gcc \ - -Dcmake -DNEBULA_USE_LINKER=mold \ + -DNEBULA_USE_LINKER=mold \ -DCMAKE_BUILD_TYPE=Debug \ -DENABLE_TESTING=on \ -DENABLE_COVERAGE=on \ @@ -133,7 +133,7 @@ jobs: cmake \ -DCMAKE_CXX_COMPILER=$TOOLSET_CLANG_DIR/bin/clang++ \ -DCMAKE_C_COMPILER=$TOOLSET_CLANG_DIR/bin/clang \ - -Dcmake -DNEBULA_USE_LINKER=mold \ + -DNEBULA_USE_LINKER=mold \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DENABLE_MEMORY_TRACKER=off \ -DENABLE_ASAN=on \ From ea61468eaddc70d9b21a149dc9fd77f5408aeebc Mon Sep 17 00:00:00 2001 From: George <58841610+Shinji-IkariG@users.noreply.github.com> Date: Fri, 10 Feb 2023 17:03:17 +0800 Subject: [PATCH 4/5] Update pull_request.yml --- .github/workflows/pull_request.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 918b2d34403..7c52334f813 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -111,7 +111,6 @@ jobs: -DENABLE_TESTING=on \ -GNinja \ -B build - echo "::set-output name=j::8" ;; ubuntu2004) # build with Debug type @@ -124,7 +123,6 @@ jobs: -DENABLE_COVERAGE=on \ -GNinja \ -B build - echo "::set-output name=j::8" ;; esac ;; @@ -140,7 +138,6 @@ jobs: -DENABLE_TESTING=on \ -GNinja \ -B build - echo "::set-output name=j::4" ;; esac - name: Make @@ -157,7 +154,7 @@ jobs: ubuntu2004) # build with Debug type ccache -z - ninja -j $(($(nproc)/2+1)) + ninja -j $(nproc) ccache -s ;; esac From 5e7a4548e38537b27a79725c7fca7087d38e755a Mon Sep 17 00:00:00 2001 From: George <58841610+Shinji-IkariG@users.noreply.github.com> Date: Tue, 14 Feb 2023 17:51:25 +0800 Subject: [PATCH 5/5] Update pull_request.yml Fix the impact of removing outputs --- .github/workflows/pull_request.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 7c52334f813..d7ee4dc886b 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -199,17 +199,17 @@ jobs: timeout-minutes: 4 - name: Pytest run: | - make RM_DIR=false DEBUG=false J=${{ steps.cmake.outputs.j }} test + make RM_DIR=false DEBUG=false J=8 test working-directory: tests/ timeout-minutes: 15 - name: TCK run: | - make RM_DIR=false DEBUG=false ENABLE_FT_INDEX=true ES_ADDRESS='"elasticsearch":9200' J=${{ steps.cmake.outputs.j }} tck + make RM_DIR=false DEBUG=false ENABLE_FT_INDEX=true ES_ADDRESS='"elasticsearch":9200' J=8 tck working-directory: tests/ timeout-minutes: 60 - name: LDBC run: | - make RM_DIR=false DEBUG=false J=${{ steps.cmake.outputs.j }} ldbc + make RM_DIR=false DEBUG=false J=8 ldbc working-directory: tests/ timeout-minutes: 60 - name: Down cluster