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 2021/08/11 06:20:18 UTC
[iotdb] branch rel/0.12 updated: Fix boostrap 1.72.0 download
failed in CI because of the redirection by jfrog.io (#3720)
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch rel/0.12
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/0.12 by this push:
new b8c2c95 Fix boostrap 1.72.0 download failed in CI because of the redirection by jfrog.io (#3720)
b8c2c95 is described below
commit b8c2c95c8769ba86bee80a6883485cc574008a0f
Author: Xiangdong Huang <hx...@apache.org>
AuthorDate: Wed Aug 11 14:19:57 2021 +0800
Fix boostrap 1.72.0 download failed in CI because of the redirection by jfrog.io (#3720)
Co-authored-by: xiangdong huang <sa...@gmail.com>
---
.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