Skip to content

Commit

Permalink
fix: 3.0-windows-build.yml jom concurrent
Browse files Browse the repository at this point in the history
  • Loading branch information
sangshuduo committed Jun 8, 2023
1 parent c4c755a commit 675596a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/3.0-windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,17 @@ jobs:
mkdir debug
- uses: ilammy/msvc-dev-cmd@v1

- name: cmake first TDengine
if: |
(steps.changed-files-specific.outputs.any_changed == 'true'
&& github.event_name == 'pull_request')
|| 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
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: |
Expand Down Expand Up @@ -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'
Expand All @@ -129,7 +132,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:
Expand Down

0 comments on commit 675596a

Please sign in to comment.