Skip to content

Commit d4e792a

Browse files
committed
ci: Avoid using too much disk space
Use -Os to minimize binary size when building in Debug. We keep asserts.
1 parent ec2f5b7 commit d4e792a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Don't generate debug symbols.
2-
# This is useless for the CI build (we don't retrieve any binaries) and can stop the build
1+
# Don't generate debug symbols (remove -g) and minimize binary size with -Os.
2+
# Debug symbol are useless for CI build (we don't retrieve any binaries) and can stop the build
33
# by taking all the disk space.
44
set(CMAKE_CXX_FLAGS_DEBUG
5-
""
5+
"-Os"
66
CACHE STRING "")

0 commit comments

Comments
 (0)