Skip to content

Commit 7e7d2ea

Browse files
committed
fixup! ci: Fix argument
1 parent 4897224 commit 7e7d2ea

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ configure_target_platform()
2525

2626
# CMake config
2727
set(CMAKE_CXX_STANDARD 17)
28+
set(CMAKE_CXX_STANDARD_REQUIRED ON) # force CXX version
29+
set(CMAKE_CXX_EXTENSIONS OFF) # disable all possible compiler extensions to stay portable
2830
set(CMAKE_AUTOMOC ON)
2931
set(CMAKE_AUTORCC ON)
3032
set(CMAKE_AUTOUIC ON)

scripts/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def _specific_post_configure(self):
330330
'clang-tidy',
331331
'-p', 'build',
332332
'--warnings-as-errors', '*'
333-
], input='\n'.join(files), text=True)
333+
], input='\n'.join(files), text=True, check=True)
334334

335335
def _get_platform_name(self) -> str:
336336
return 'linux-g++'

0 commit comments

Comments
 (0)