mirror of
https://git.suyu.dev/suyu/discord-rpc.git
synced 2025-12-22 05:46:36 +01:00
Disable code formatting on CI builds.
This commit is contained in:
parent
2af5adca3d
commit
8af28e46be
3 changed files with 6 additions and 6 deletions
3
build.py
3
build.py
|
|
@ -79,6 +79,9 @@ def build_lib(build_name, generator, options):
|
|||
]
|
||||
if generator:
|
||||
initial_cmake.extend(['-G', generator])
|
||||
if IS_BUILD_MACHINE:
|
||||
# disable formatting on CI builds
|
||||
initial_cmake.append('-DCLANG_FORMAT_SUFFIX=none')
|
||||
for key in options:
|
||||
val = 'ON' if options[key] else 'OFF'
|
||||
initial_cmake.append('-D%s=%s' % (key, val))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue