From 812c70be43e5495f406fc803b1952a56a0a065ae Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Thu, 8 Jun 2023 16:09:50 +0800 Subject: [PATCH] fix: 3.0-windows-build.yml jom concurrent --- .github/workflows/3.0-windows-build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/3.0-windows-build.yml b/.github/workflows/3.0-windows-build.yml index 336ad76c..7f4337de 100644 --- a/.github/workflows/3.0-windows-build.yml +++ b/.github/workflows/3.0-windows-build.yml @@ -85,6 +85,7 @@ jobs: mkdir debug - uses: ilammy/msvc-dev-cmd@v1 + - name: cmake first TDengine if: | (steps.changed-files-specific.outputs.any_changed == 'true' @@ -92,8 +93,10 @@ jobs: || github.event_name == 'push' || github.event_name == 'schedule' run: | + cl.exe --version cd TDengine/debug - cmake .. -G "NMake Makefiles JOM" -DBUILD_TOOLS=true -DTOOLS_BUILD_TYPE=${{env.TOOLS_BUILD_TYPE}} && jom -j 8 && jom install + rm -rf * + cmake .. -G "NMake Makefiles JOM" -DBUILD_TOOLS=true -DTOOLS_BUILD_TYPE=${{env.TOOLS_BUILD_TYPE}} && jom -j2 && jom install - name: Checkout TDengine's taos-tools to PR number if: | @@ -121,6 +124,7 @@ jobs: toolchain: stable - uses: ilammy/msvc-dev-cmd@v1 + - name: Build & Install TDengine if: (steps.changed-files-specific.outputs.any_changed == 'true' @@ -129,7 +133,7 @@ jobs: || github.event_name == 'schedule' run: | cd TDengine/debug - cmake .. -G "NMake Makefiles JOM" -DBUILD_HTTP=false -DBUILD_TOOLS=true -DTOOLS_BUILD_TYPE=${{env.TOOLS_BUILD_TYPE}} -DWEBSOCKET=true && jom -j8 && jom install + cmake .. -G "NMake Makefiles" -DBUILD_HTTP=false -DBUILD_TOOLS=true -DTOOLS_BUILD_TYPE=${{env.TOOLS_BUILD_TYPE}} -DWEBSOCKET=true && nmake && nmake install # - name: taosdump codec Test # if: