strip MinGW builds

until I feel like doing a selective strip
This commit is contained in:
tildearrow 2022-05-26 18:11:59 -05:00
parent 4874e91bb0
commit ada7cb167f

View file

@ -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-"