From 869506d2dac1aa0555493f057ed23d5bd5e24ab3 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 9 Aug 2025 01:27:51 +0200 Subject: [PATCH] appveyor: show disk space used in each job Also bump minimum dir size in GHA, to reduce details. Follow-up to be71475b1313ff017acc1efab16e0fea84cd32f5 #18150 Closes #18235 --- .github/workflows/windows.yml | 10 +++++----- appveyor.sh | 7 +++++++ 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index ed722a9ba5..d0e1157f7b 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -183,7 +183,7 @@ jobs: fi - name: 'disk space used' - run: du -sh .; echo; du -sh -t 250KB ./*; echo; du -h -t 50KB bld + run: du -sh .; echo; du -sh -t 250KB ./*; echo; du -h -t 250KB bld msys2: # both msys and mingw-w64 name: "${{ matrix.sys == 'msys' && 'msys2' || 'mingw' }}, ${{ matrix.build == 'cmake' && 'CM' || 'AM' }} ${{ matrix.env }} ${{ matrix.name }} ${{ matrix.test }}" @@ -410,7 +410,7 @@ jobs: fi - name: 'disk space used' - run: du -sh .; echo; du -sh -t 250KB ./*; echo; du -h -t 50KB bld + run: du -sh .; echo; du -sh -t 250KB ./*; echo; du -h -t 250KB bld mingw-w64-standalone-downloads: name: 'dl-mingw, CM ${{ matrix.ver }}-${{ matrix.env }} ${{ matrix.name }}' @@ -592,7 +592,7 @@ jobs: cmake --build bld --target curl-examples - name: 'disk space used' - run: du -sh .; echo; du -sh -t 250KB ./*; echo; du -h -t 50KB bld + run: du -sh .; echo; du -sh -t 250KB ./*; echo; du -h -t 250KB bld linux-cross-mingw-w64: name: "linux-mingw, ${{ matrix.build == 'cmake' && 'CM' || 'AM' }} ${{ matrix.compiler }}" @@ -693,7 +693,7 @@ jobs: fi - name: 'disk space used' - run: du -sh .; echo; du -sh -t 250KB ./*; echo; du -h -t 50KB bld + run: du -sh .; echo; du -sh -t 250KB ./*; echo; du -h -t 250KB bld msvc: name: 'msvc, CM ${{ matrix.arch }}-${{ matrix.plat }} ${{ matrix.name }}' @@ -938,4 +938,4 @@ jobs: run: cmake --build bld --config "${MATRIX_TYPE}" --parallel 5 --target curl-examples - name: 'disk space used' - run: du -sh .; echo; du -sh -t 250KB ./*; echo; du -h -t 50KB bld + run: du -sh .; echo; du -sh -t 250KB ./*; echo; du -h -t 250KB bld diff --git a/appveyor.sh b/appveyor.sh index ee4deaf5cb..225d577f8c 100644 --- a/appveyor.sh +++ b/appveyor.sh @@ -165,3 +165,10 @@ if [ "${EXAMPLES}" = 'ON' ] && \ [ "${BUILD_SYSTEM}" = 'CMake' ]; then time cmake --build _bld --config "${PRJ_CFG}" --parallel 2 --target curl-examples fi + +# disk space used + +du -sh .; echo; du -sh -t 250KB ./* +if [ "${BUILD_SYSTEM}" = 'CMake' ]; then + echo; du -h -t 250KB _bld +fi -- 2.47.3