mirror of https://github.com/OpenRCT2/OpenRCT2.git
Switch from RelWithDebInfo to MinSizeRel + -g for Linux amd64 (#9404)
In https://github.com/OpenRCT2/OpenRCT2/issues/9357 it was found that the archive to be uploaded is too big, over 32MiB quota imposed by Google App Engine. To alleviate that, switch GCC to `-Os -g` to help reduce the code size a bit. Fixes #9357
This commit is contained in:
parent
b25c1c8088
commit
c141e58ea6
|
@ -27,12 +27,12 @@ env:
|
|||
matrix:
|
||||
include:
|
||||
- os: linux
|
||||
name: Ubuntu amd64 GCC RelWithDebInfo
|
||||
name: Ubuntu amd64 GCC MinSizeRel
|
||||
if: type != cron
|
||||
services:
|
||||
- docker
|
||||
env:
|
||||
- OPENRCT2_CMAKE_OPTS="-G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=OpenRCT2 -DPORTABLE=ON -DCMAKE_CXX_FLAGS=\"-gz\"" TARGET=ubuntu_amd64
|
||||
- OPENRCT2_CMAKE_OPTS="-G Ninja -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=OpenRCT2 -DPORTABLE=ON -DCMAKE_CXX_FLAGS=\"-g -gz\"" TARGET=ubuntu_amd64
|
||||
- secure: "S3u2VCE2Vy8KNXoeh+DhnzjCmgTX0r95uEZrXDU+IKANOOCKn7Dg4OFDZE3LY/i1y2/EUDpnR5yLC38Ks795EUP/sv/OoMl4tjQ20yERjqWh+gcIRrgx7SdVabuAh3t4aBdaLD4Pfnj5avxeCt6rL7yGnj0wdbrbJSBZPsgSnuQ="
|
||||
after_success:
|
||||
- sudo chown -R $USER build
|
||||
|
|
Loading…
Reference in New Issue