From 3705347e5b5d7aba2bb4d1801ed5da0cc65d4ce0 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 | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/3.0-windows-build.yml b/.github/workflows/3.0-windows-build.yml index 336ad76c..a8d9f35a 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,9 @@ jobs: || github.event_name == 'push' || github.event_name == 'schedule' run: | + cl.exe cd TDengine/debug - cmake .. -G "NMake Makefiles JOM" -DBUILD_TOOLS=true -DTOOLS_BUILD_TYPE=${{env.TOOLS_BUILD_TYPE}} && jom -j 8 && jom install + cmake .. -G "NMake Makefiles JOM" -DBUILD_TOOLS=true && jom /j 2 && jom install - name: Checkout TDengine's taos-tools to PR number if: | @@ -121,6 +123,7 @@ jobs: toolchain: stable - uses: ilammy/msvc-dev-cmd@v1 + - name: Build & Install TDengine if: (steps.changed-files-specific.outputs.any_changed == 'true' @@ -128,8 +131,13 @@ jobs: || github.event_name == 'push' || 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 + cl.exe + Remove-Item TDengine\debug + cd TDengine + mkdir debug + cd debug + cmake .. -G "NMake Makefiles JOM" -DBUILD_TOOLS=true && jom /j 2 && jom install + #cmake .. -G "NMake Makefiles" -DBUILD_HTTP=false -DBUILD_TOOLS=true -DWEBSOCKET=true && nmake && nmake install # - name: taosdump codec Test # if: