From af21aa05223a2916953b77a8c48467176b754acb Mon Sep 17 00:00:00 2001 From: tangxifan Date: Mon, 23 Nov 2020 20:52:07 -0700 Subject: [PATCH] [Test]Try env variable for parallel cmake build --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d4f5602c8..66a95a298 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,6 +14,7 @@ on: env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) BUILD_TYPE: Release + MAKE_FLAGS: "-j8" # Multiple job to tests jobs: @@ -48,4 +49,4 @@ jobs: working-directory: ${{runner.workspace}}/build shell: bash # Execute the build. You can specify a specific target with "--target " - run: cmake --build . --config $BUILD_TYPE -j 8 + run: cmake --build . --config $BUILD_TYPE