From 4a178ed1d8d30da15715ef825745452c52ba0ea9 Mon Sep 17 00:00:00 2001 From: Haonan Date: Tue, 3 Sep 2024 17:02:42 +0800 Subject: [PATCH] Fix client cpp IT on macos --- .github/workflows/multi-language-client.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/multi-language-client.yml b/.github/workflows/multi-language-client.yml index 98991220d551..0ce50ae1bdfa 100644 --- a/.github/workflows/multi-language-client.yml +++ b/.github/workflows/multi-language-client.yml @@ -56,11 +56,16 @@ jobs: sudo apt-get update sudo apt-get install libboost-all-dev - name: Install CPP Dependencies (Mac) + # remove some xcode to release disk space if: matrix.os == 'macos-latest' shell: bash run: | brew install boost - brew install bison + sudo rm -rf /Applications/Xcode_14.3.1.app + sudo rm -rf /Applications/Xcode_15.0.1.app + sudo rm -rf /Applications/Xcode_15.1.app + sudo rm -rf /Applications/Xcode_15.2.app + sudo rm -rf /Applications/Xcode_15.3.app - name: Install CPP Dependencies (Windows) if: matrix.os == 'windows-latest' run: | @@ -72,7 +77,7 @@ jobs: uses: actions/cache@v4 with: path: ~/.m2 - key: client-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2- - name: Build IoTDB server shell: bash @@ -88,7 +93,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: cpp-IT-${{ runner.os }} - path: iotdb-client/client-cpp/target/build/test/Testing + path: distribution/target/apache-iotdb-*-all-bin/apache-iotdb-*-all-bin/logs retention-days: 1 go: