This is an automated email from the ASF dual-hosted git repository. haonan pushed a commit to branch opt_ci in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 11f22c441897f30d046ef965fbb193d2dd67b05c Author: HTHou <[email protected]> AuthorDate: Fri Jul 29 18:05:37 2022 +0800 Optimize CI workflow --- .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: |
