From 2deb48c65532222cfcb2895a2f12d6a869e8b6d0 Mon Sep 17 00:00:00 2001 From: freemine Date: Thu, 13 Mar 2025 06:45:56 +0800 Subject: [PATCH 1/4] chore(ci): statistics ci report --- .github/workflows/taosd-ci-build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/taosd-ci-build.yml b/.github/workflows/taosd-ci-build.yml index 2179200bb3..5c6809c7c2 100644 --- a/.github/workflows/taosd-ci-build.yml +++ b/.github/workflows/taosd-ci-build.yml @@ -88,6 +88,16 @@ jobs: which taosadapter which taoskeeper + - name: Statistics ldd + run: | + find ${{ github.workspace }}/debug/build/lib -type f -print0 | xargs -0 ldd + find ${{ github.workspace }}/debug/build/bin -type f -print0 | xargs -0 ldd + + - name: Statistics size + run: | + find ${{ github.workspace }}/debug/build/lib -type f -print0 | xargs -0 ls -lh + find ${{ github.workspace }}/debug/build/bin -type f -print0 | xargs -0 ls -lh + - name: Start taosd run: | cp /etc/taos/taos.cfg ./ From 2a244e3c4e2bfb88074c34eba2ec1ab4abdf6291 Mon Sep 17 00:00:00 2001 From: freemine Date: Thu, 13 Mar 2025 07:04:21 +0800 Subject: [PATCH 2/4] chore(ci): statistics ci report never fail --- .github/workflows/taosd-ci-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/taosd-ci-build.yml b/.github/workflows/taosd-ci-build.yml index 5c6809c7c2..c977a56462 100644 --- a/.github/workflows/taosd-ci-build.yml +++ b/.github/workflows/taosd-ci-build.yml @@ -90,8 +90,8 @@ jobs: - name: Statistics ldd run: | - find ${{ github.workspace }}/debug/build/lib -type f -print0 | xargs -0 ldd - find ${{ github.workspace }}/debug/build/bin -type f -print0 | xargs -0 ldd + find ${{ github.workspace }}/debug/build/lib -type f -print0 | xargs -0 ldd || true + find ${{ github.workspace }}/debug/build/bin -type f -print0 | xargs -0 ldd || true - name: Statistics size run: | From 6a6cf065b201a99ee8b8bedf1365e75f86b9b357 Mon Sep 17 00:00:00 2001 From: freemine Date: Thu, 13 Mar 2025 07:32:16 +0800 Subject: [PATCH 3/4] chore(ci): statistics ci report sort by size desc --- .github/workflows/taosd-ci-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/taosd-ci-build.yml b/.github/workflows/taosd-ci-build.yml index c977a56462..8ec3452b71 100644 --- a/.github/workflows/taosd-ci-build.yml +++ b/.github/workflows/taosd-ci-build.yml @@ -95,8 +95,8 @@ jobs: - name: Statistics size run: | - find ${{ github.workspace }}/debug/build/lib -type f -print0 | xargs -0 ls -lh - find ${{ github.workspace }}/debug/build/bin -type f -print0 | xargs -0 ls -lh + find ${{ github.workspace }}/debug/build/lib -type f -print0 | xargs -0 ls -lhrS + find ${{ github.workspace }}/debug/build/bin -type f -print0 | xargs -0 ls -lhrS - name: Start taosd run: | From 5b9cde5d7f10a46db6b43fe62d6796d71acb4579 Mon Sep 17 00:00:00 2001 From: WANG Xu Date: Sun, 16 Mar 2025 18:32:46 +0800 Subject: [PATCH 4/4] Update .github/workflows/taosd-ci-build.yml --- .github/workflows/taosd-ci-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/taosd-ci-build.yml b/.github/workflows/taosd-ci-build.yml index 8ec3452b71..70ce3bcd4c 100644 --- a/.github/workflows/taosd-ci-build.yml +++ b/.github/workflows/taosd-ci-build.yml @@ -90,7 +90,7 @@ jobs: - name: Statistics ldd run: | - find ${{ github.workspace }}/debug/build/lib -type f -print0 | xargs -0 ldd || true + find ${{ github.workspace }}/debug/build/lib -type f -name "*.so" -print0 | xargs -0 ldd || true find ${{ github.workspace }}/debug/build/bin -type f -print0 | xargs -0 ldd || true - name: Statistics size