[Test]Try env variable for parallel cmake build

This commit is contained in:
tangxifan 2020-11-23 20:52:07 -07:00
parent 7bd2622fd6
commit af21aa0522
1 changed files with 2 additions and 1 deletions

View File

@ -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 <NAME>"
run: cmake --build . --config $BUILD_TYPE -j 8
run: cmake --build . --config $BUILD_TYPE