mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
GHA/windows: show disk space used in each job
Also: - make the dl-minge 6.4.0 job shared. To save 761MB of disk space, and speed up examples build step by 50% (10 seconds). Closes #18150
This commit is contained in:
parent
985f39c0ce
commit
be71475b13
17
.github/workflows/windows.yml
vendored
17
.github/workflows/windows.yml
vendored
@ -182,6 +182,9 @@ jobs:
|
||||
make -C bld V=1 examples
|
||||
fi
|
||||
|
||||
- name: 'disk space used'
|
||||
run: du -sh .; echo; du -sh -t 250KB ./*; echo; du -h -t 50KB bld
|
||||
|
||||
msys2: # both msys and mingw-w64
|
||||
name: "${{ matrix.sys == 'msys' && 'msys2' || 'mingw' }}, ${{ matrix.build == 'cmake' && 'CM' || 'AM' }} ${{ matrix.env }} ${{ matrix.name }} ${{ matrix.test }}"
|
||||
runs-on: ${{ matrix.image || 'windows-latest' }}
|
||||
@ -406,6 +409,9 @@ jobs:
|
||||
make -C bld V=1 examples
|
||||
fi
|
||||
|
||||
- name: 'disk space used'
|
||||
run: du -sh .; echo; du -sh -t 250KB ./*; echo; du -h -t 50KB bld
|
||||
|
||||
mingw-w64-standalone-downloads:
|
||||
name: 'dl-mingw, CM ${{ matrix.ver }}-${{ matrix.env }} ${{ matrix.name }}'
|
||||
runs-on: windows-latest
|
||||
@ -448,7 +454,7 @@ jobs:
|
||||
env: 'i686'
|
||||
ver: '6.4.0'
|
||||
url: 'https://downloads.sourceforge.net/mingw-w64/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/6.4.0/threads-win32/dwarf/i686-6.4.0-release-win32-dwarf-rt_v5-rev0.7z'
|
||||
config: '-DENABLE_DEBUG=ON -DBUILD_SHARED_LIBS=OFF -DCURL_USE_SCHANNEL=ON -DENABLE_UNICODE=OFF -DCMAKE_UNITY_BUILD=OFF'
|
||||
config: '-DENABLE_DEBUG=ON -DCURL_USE_SCHANNEL=ON -DENABLE_UNICODE=OFF -DCMAKE_UNITY_BUILD=OFF'
|
||||
type: 'Debug'
|
||||
tflags: 'skiprun'
|
||||
- name: 'schannel !examples' # mingw-w64 3.0
|
||||
@ -585,6 +591,9 @@ jobs:
|
||||
PATH="/d/my-cache/${MATRIX_DIR}/bin:$PATH"
|
||||
cmake --build bld --target curl-examples
|
||||
|
||||
- name: 'disk space used'
|
||||
run: du -sh .; echo; du -sh -t 250KB ./*; echo; du -h -t 50KB bld
|
||||
|
||||
linux-cross-mingw-w64:
|
||||
name: "linux-mingw, ${{ matrix.build == 'cmake' && 'CM' || 'AM' }} ${{ matrix.compiler }}"
|
||||
runs-on: ubuntu-latest
|
||||
@ -684,6 +693,9 @@ jobs:
|
||||
make -C bld examples
|
||||
fi
|
||||
|
||||
- name: 'disk space used'
|
||||
run: du -sh .; echo; du -sh -t 250KB ./*; echo; du -h -t 50KB bld
|
||||
|
||||
msvc:
|
||||
name: 'msvc, CM ${{ matrix.arch }}-${{ matrix.plat }} ${{ matrix.name }}'
|
||||
runs-on: ${{ matrix.image || 'windows-latest' }}
|
||||
@ -925,3 +937,6 @@ jobs:
|
||||
timeout-minutes: 5
|
||||
if: ${{ contains(matrix.name, '+examples') }}
|
||||
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user