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 8ddb8da5f5 Optimize CI workflow (#6841)
8ddb8da5f5 is described below
commit 8ddb8da5f579b82c543de683629b3becea4a26e6
Author: Haonan <[email protected]>
AuthorDate: Sat Jul 30 11:34:41 2022 +0800
Optimize CI workflow (#6841)
---
.github/workflows/client-cpp.yml | 4 ++--
.github/workflows/influxdb-protocol.yml | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/client-cpp.yml b/.github/workflows/client-cpp.yml
index 629dea1be3..b4941418b3 100644
--- a/.github/workflows/client-cpp.yml
+++ b/.github/workflows/client-cpp.yml
@@ -61,7 +61,7 @@ jobs:
key: client-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2-
- name: Test with Maven
- run: mvn -B clean integration-test -P compile-cpp
-Dtsfile.test.skip=true -Djdbc.test.skip=true -Diotdb.test.skip=true
-Dcommons.test.skip=true -Dtest.port.closed=true -pl
server,client-cpp,example/client-cpp-example -am
+ run: mvn -B clean integration-test -P compile-cpp
-Dtsfile.test.skip=true -Djdbc.test.skip=true -Diotdb.test.skip=true
-Dconsensus.test.skip=true -Dcommons.test.skip=true -Dtest.port.closed=true -pl
server,client-cpp,example/client-cpp-example -am
build-win:
strategy:
@@ -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_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 -Dcommons.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= [...]
+ 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 -Dconsensus.test.skip=true
-Dcommons.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-x8
[...]
diff --git a/.github/workflows/influxdb-protocol.yml
b/.github/workflows/influxdb-protocol.yml
index 4879944208..7aac7da02c 100644
--- a/.github/workflows/influxdb-protocol.yml
+++ b/.github/workflows/influxdb-protocol.yml
@@ -57,7 +57,7 @@ jobs:
restore-keys: ${{ runner.os }}-m2-
- name: Build Distribution Zip
- run: ./mvnw.sh -B -DskipTests clean install
+ run: mvn clean install -pl distribution -am -DskipTests
- name: Build Docker Image
run: |