This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch HTHou-patch-2
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 98007b4111d84d2e2b07f83093bae11d87e5ce8b
Author: Haonan <[email protected]>
AuthorDate: Sat Aug 24 00:17:57 2024 +0800

    Try cpp client on windows-2019
---
 .github/workflows/multi-language-client.yml | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/multi-language-client.yml 
b/.github/workflows/multi-language-client.yml
index 1b430d3483a..e9006b45f50 100644
--- a/.github/workflows/multi-language-client.yml
+++ b/.github/workflows/multi-language-client.yml
@@ -44,7 +44,7 @@ jobs:
       fail-fast: false
       max-parallel: 15
       matrix:
-        os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-latest, 
windows-latest]
+        os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, windows-2019, 
windows-2022, macos-latest]
     runs-on: ${{ matrix.os}}
 
     steps:
@@ -65,7 +65,11 @@ jobs:
         if: runner.os == 'Windows'
         run: |
           choco install winflexbison3
-          choco install boost-msvc-14.3
+          if [[ "$MATRIX.OS == windows-2019" ]]; then
+            choco install boost-msvc-14.2
+          else
+            choco install boost-msvc-14.3
+          fi
           $boost_path = (Get-ChildItem -Path 'C:\local\' -Filter 
'boost_*').FullName
           echo $boost_path >> $env:GITHUB_PATH
       - name: Cache Maven packages
@@ -85,7 +89,9 @@ jobs:
         run: |
           if [[ "$RUNNER_OS" == "Linux" ]]; then
             ./mvnw clean verify -P with-cpp -pl 
iotdb-client/client-cpp,example/client-cpp-example -am 
-Diotdb-tools-thrift.version=0.14.1.1-glibc223-SNAPSHOT
-          else
+          elif [[ "$RUNNER_OS" == "Windows" ]]; then
+            ./mvnw clean verify -P with-cpp -pl 
iotdb-client/client-cpp,example/client-cpp-example -am 
-Diotdb-tools-thrift.version=0.14.1.1-msvc142-SNAPSHOT
+          else  
             ./mvnw clean verify -P with-cpp -pl 
iotdb-client/client-cpp,example/client-cpp-example -am
           fi
       - name: Upload Artifact

Reply via email to