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 2024/01/11 08:29:34 UTC

(iotdb) 02/02: test

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

haonan pushed a commit to branch mac-arm64-ci
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 2d20999351e72bb8f6748d888f4e034e1847575d
Author: HTHou <hh...@outlook.com>
AuthorDate: Thu Jan 11 16:29:10 2024 +0800

    test
---
 .github/workflows/client-cpp.yml | 35 +----------------------------------
 1 file changed, 1 insertion(+), 34 deletions(-)

diff --git a/.github/workflows/client-cpp.yml b/.github/workflows/client-cpp.yml
index 8dbd9898627..aaa3e01efa8 100644
--- a/.github/workflows/client-cpp.yml
+++ b/.github/workflows/client-cpp.yml
@@ -37,7 +37,7 @@ jobs:
       fail-fast: false
       max-parallel: 20
       matrix:
-        os: [ubuntu-latest, macos-13-arm64]
+        os: [macos-13-arm64]
     runs-on: ${{ matrix.os}}
 
     steps:
@@ -72,36 +72,3 @@ jobs:
       - name: Show test result
         if: failure()
         run: cat iotdb-client/client-cpp/target/build/test/Testing/Temporary/LastTest_*.log
-
-  build-win:
-    runs-on: windows-latest
-
-    steps:
-      - uses: actions/checkout@v3
-      - name: Cache Maven packages
-        uses: actions/cache@v3
-        with:
-          path: ~/.m2
-          key: client-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
-          restore-keys: ${{ runner.os }}-m2-
-      - name: Install Win_Flex_Bison
-        run: choco install winflexbison3
-      - name: Download Boost
-        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 -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 -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
-        with:
-          name: cpp-IT-${{ runner.os }}
-          path: iotdb-client/client-cpp/target/build/test/Testing
-          retention-days: 1