You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/03/30 15:02:56 UTC

[iotdb] branch master updated: Fix cpp client tests cannot pass with latest Windows environment (windows server 2022) (#5375)

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

haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 534475b  Fix cpp client tests cannot pass with latest Windows environment (windows server 2022) (#5375)
534475b is described below

commit 534475b268d12c832027b293b3def317fb4d3a71
Author: Haonan <hh...@outlook.com>
AuthorDate: Wed Mar 30 23:02:08 2022 +0800

    Fix cpp client tests cannot pass with latest Windows environment (windows server 2022) (#5375)
---
 .github/workflows/client.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml
index 7608844..446fbae 100644
--- a/.github/workflows/client.yml
+++ b/.github/workflows/client.yml
@@ -68,7 +68,7 @@ jobs:
       fail-fast: false
       max-parallel: 20
       matrix:
-        os: [windows-2019]
+        os: [windows-latest]
     runs-on: ${{ matrix.os}}
 
     steps:
@@ -88,9 +88,9 @@ jobs:
           Invoke-WebRequest https://github.com/lexxmark/winflexbison/releases/download/v2.5.24/win_flex_bison-2.5.24.zip -OutFile D:\a\cpp\win_flex_bison.zip ; `
           [Environment]::SetEnvironmentVariable("Path", $env:Path + ";D:\a\cpp", "User") ; `
       - name: Download Boost
-        run: choco install boost-msvc-14.2
+        run: choco install boost-msvc-14.3 --version=1.78.0
       - name: Install Boost
-        run: cd C:\local\boost_1_74_0 ; `
+        run: cd C:\local\boost_1_78_0 ; `
           .\bootstrap.bat ; `
           .\b2.exe
       - name: Install OpenSSL
@@ -100,4 +100,4 @@ jobs:
         run: cd /d/a/cpp && unzip win_flex_bison.zip && mv win_flex.exe flex.exe && mv win_bison.exe bison.exe  && echo 'export PATH=/d/a/cpp:$PATH' >> ~/.bash_profile && source ~/.bash_profile
       - name: Test with Maven
         shell: bash
-        run: source ~/.bash_profile && mvn -B clean integration-test -P compile-cpp -Dboost.include.dir=/c/local/boost_1_74_0 -Dboost.library.dir=/c/local/boost_1_74_0/stage/lib -Dtsfile.test.skip=true -Djdbc.test.skip=true -Diotdb.test.skip=true -Dtest.port.closed=true -Denforcer.skip=true -pl server,client-cpp,example/client-cpp-example -am
+        run: source ~/.bash_profile && mvn -B clean integration-test -P compile-cpp -Dboost.include.dir=/c/local/boost_1_78_0 -Dboost.library.dir=/c/local/boost_1_78_0/stage/lib -Dtsfile.test.skip=true -Djdbc.test.skip=true -Diotdb.test.skip=true -Dtest.port.closed=true -Denforcer.skip=true -pl server,client-cpp,example/client-cpp-example -am -Dcmake.url="https://github.com/Kitware/CMake/releases/download/v3.21.6/cmake-3.21.6-windows-x86_64.zip" -Dcmake.root.dir=/D/a/iotdb/iotdb/compile- [...]