mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Use unity builds to speed up clang-tidy runtime
This commit is contained in:
parent
90f05ac4e8
commit
b6c54ac589
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -169,7 +169,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake -S $GITHUB_WORKSPACE -B $GITHUB_WORKSPACE/build -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DSFML_BUILD_EXAMPLES=TRUE -DSFML_BUILD_TEST_SUITE=TRUE ${{matrix.platform.flags}}
|
run: cmake -S $GITHUB_WORKSPACE -B $GITHUB_WORKSPACE/build -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_UNITY_BUILD=ON -DSFML_BUILD_EXAMPLES=TRUE -DSFML_BUILD_TEST_SUITE=TRUE ${{matrix.platform.flags}}
|
||||||
|
|
||||||
- name: Analyze Code
|
- name: Analyze Code
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -18,5 +18,7 @@ namespace sf
|
|||||||
{
|
{
|
||||||
class VideoMode;
|
class VideoMode;
|
||||||
|
|
||||||
|
// Required because WindowUtil.cpp doesn't include WindowUtil.hpp
|
||||||
|
// NOLINTNEXTLINE(readability-redundant-declaration)
|
||||||
std::ostream& operator<<(std::ostream& os, const VideoMode& videoMode);
|
std::ostream& operator<<(std::ostream& os, const VideoMode& videoMode);
|
||||||
} // namespace sf
|
} // namespace sf
|
||||||
|
Loading…
Reference in New Issue
Block a user