]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
appveyor: show disk space used in each job
authorViktor Szakats <commit@vsz.me>
Fri, 8 Aug 2025 23:27:51 +0000 (01:27 +0200)
committerViktor Szakats <commit@vsz.me>
Sat, 9 Aug 2025 00:01:54 +0000 (02:01 +0200)
Also bump minimum dir size in GHA, to reduce details.

Follow-up to be71475b1313ff017acc1efab16e0fea84cd32f5 #18150
Closes #18235

.github/workflows/windows.yml
appveyor.sh

index ed722a9ba5877ae725633c79c15471cdb6a9f4e9..d0e1157f7bc32641698bbbc629d17a1dcb08833e 100644 (file)
@@ -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
index ee4deaf5cbdc281687b1a313aaa5677909528481..225d577f8c75a30369b1ab5cc2a3d8494ea01b69 100644 (file)
@@ -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