You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2021/08/11 05:13:51 UTC

[iotdb] branch 0.12-fix-boost-download created (now a784553)

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

hxd pushed a change to branch 0.12-fix-boost-download
in repository https://gitbox.apache.org/repos/asf/iotdb.git.


      at a784553  use choco to download boostrap 1.74.0 for CI.

This branch includes the following new commits:

     new a784553  use choco to download boostrap 1.74.0 for CI.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[iotdb] 01/01: use choco to download boostrap 1.74.0 for CI.

Posted by hx...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hxd pushed a commit to branch 0.12-fix-boost-download
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit a784553e62c1cfec2cc9675f8846d2f3cf4e07e5
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Wed Aug 11 13:13:11 2021 +0800

    use choco to download boostrap 1.74.0 for CI.
---
 .github/workflows/client.yml | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml
index 8227f6c..7c7966e 100644
--- a/.github/workflows/client.yml
+++ b/.github/workflows/client.yml
@@ -76,13 +76,14 @@ jobs:
           path: ~/.m2
           key: client-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
           restore-keys: ${{ runner.os }}-m2-
-      - name: Install Boost and Win_Flex_Bison
+      - name: Install Win_Flex_Bison
         run: mkdir D:\a\cpp ; `
           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") ; `
-          Invoke-WebRequest https://boostorg.jfrog.io/artifactory/main/release/1.72.0/source/boost_1_72_0.zip -OutFile D:\a\cpp\boost_1_72_0.zip ; `
-          Expand-Archive D:\a\cpp\boost_1_72_0.zip -DestinationPath D:\a\cpp ; `
-          cd D:\a\cpp\boost_1_72_0 ; `
+      - name: Download Boost
+        run: choco install boost-msvc-14.2
+      - name: Install Boost
+        run: cd C:\local\boost_1_74_0 ; `
           .\bootstrap.bat ; `
           .\b2.exe
       - name: Install OpenSSL
@@ -92,4 +93,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=/d/a/cpp/boost_1_72_0 -Dboost.library.dir=/d/a/cpp/boost_1_72_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_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