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 dff87437e88 Update client-cpp.yml to fix cpp build error on Windows
(#11863)
dff87437e88 is described below
commit dff87437e888e92372398500b2f00b8d6bd1af25
Author: Haonan <[email protected]>
AuthorDate: Tue Jan 9 12:18:54 2024 +0800
Update client-cpp.yml to fix cpp build error on Windows (#11863)
---
.github/workflows/client-cpp.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/client-cpp.yml b/.github/workflows/client-cpp.yml
index 3d0b00e1584..a3080a9ec07 100644
--- a/.github/workflows/client-cpp.yml
+++ b/.github/workflows/client-cpp.yml
@@ -86,17 +86,17 @@ jobs:
- name: Install Win_Flex_Bison
run: choco install winflexbison3
- name: Download Boost
- run: choco install boost-msvc-14.3 --version=1.78.0
+ run: choco install boost-msvc-14.3 --version=1.84.0
- name: Build IoTDB server
shell: bash
# Explicitly using mvnw here as the build requires maven 3.9 and the
default installation is older
# Explicitly using "install" instead of package in order to be sure
we're using libs built on this machine
# (was causing problems on windows, but could cause problem on linux,
when updating the thrift module)
- run: ./mvnw clean install -P with-cpp -pl
distribution,example/client-cpp-example -am -DskipTests
+ run: ./mvnw clean install -P with-cpp -pl
distribution,example/client-cpp-example -am -DskipTests
-D"boost.include.dir"="C:\local\boost_1_84_0"
-D"boost.library.dir"="C:\local\boost_1_84_0\stage\lib"
- name: Test with Maven
shell: bash
# Explicitly using mvnw here as the build requires maven 3.9 and the
default installation is older
- run: ./mvnw clean verify -P with-cpp -pl iotdb-client/client-cpp -am
+ run: ./mvnw clean verify -P with-cpp -pl iotdb-client/client-cpp -am
-D"boost.include.dir"="C:\local\boost_1_84_0"
-D"boost.library.dir"="C:\local\boost_1_84_0\stage\lib"
- name: Upload Artifact
if: failure()
uses: actions/upload-artifact@v3