strip MinGW builds
until I feel like doing a selective strip
This commit is contained in:
parent
4874e91bb0
commit
ada7cb167f
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
@ -225,7 +225,8 @@ jobs:
|
||||||
if [ '${{ matrix.config.compiler }}' == 'msvc' ]; then
|
if [ '${{ matrix.config.compiler }}' == 'msvc' ]; then
|
||||||
binPath="${binPath}/${{ env.BUILD_TYPE }}"
|
binPath="${binPath}/${{ env.BUILD_TYPE }}"
|
||||||
fi
|
fi
|
||||||
if [ '${{ matrix.config.compiler }}' == 'mingw' ] && [ '${{ env.BUILD_TYPE }}' == 'Release' ]; then
|
# always strip on MinGW as it generate massive artifacts
|
||||||
|
if [ '${{ matrix.config.compiler }}' == 'mingw' ]; then
|
||||||
# arch-specific strip prefix
|
# arch-specific strip prefix
|
||||||
# TODO maybe extract from cross toolchain files?
|
# TODO maybe extract from cross toolchain files?
|
||||||
toolPrefix="-w64-mingw32-"
|
toolPrefix="-w64-mingw32-"
|
||||||
|
|
Loading…
Reference in a new issue