File tree 4 files changed +8
-70
lines changed
4 files changed +8
-70
lines changed Original file line number Diff line number Diff line change 91
91
llvm-profdata merge -sparse ${{github.workspace}}/build/Test/compile/default.profraw -o ${{github.workspace}}/build/compileTestSuite.profdata
92
92
llvm-cov report ${{github.workspace}}/build/compileTestSuite -instr-profile=${{github.workspace}}/build/compileTestSuite.profdata
93
93
llvm-cov export ${{github.workspace}}/build/compileTestSuite -format=text -instr-profile=${{github.workspace}}/build/compileTestSuite.profdata > ${{github.workspace}}/build/coverage.json
94
+ - name : Run profiling
95
+ run : |
96
+ cd build
97
+ LLVM_PROFILE_FILE="${{github.workspace}}/build/engine.profraw" ./GraphicsEngine
98
+ llvm-profdata merge -sparse ${{github.workspace}}/build/engine.profraw -o ${{github.workspace}}/build/engine.profdata
99
+ llvm-cov show ./GraphicsEngine -instr-profile=${{github.workspace}}/build/engine.profdata -format=text
100
+
94
101
- name : Codecov
95
102
96
103
with :
Original file line number Diff line number Diff line change @@ -52,14 +52,13 @@ foreach(Shader ${PATH_TRACING_SHADER_FILTER})
52
52
endforeach ()
53
53
54
54
if (NOT WINDOWS_CI)
55
+ include (CTest)
55
56
enable_testing ()
56
57
message (STATUS "WINDOWS_CI is OFF or not defined." )
57
58
else ()
58
59
message (STATUS "WINDOWS_CI is OFF or not defined." )
59
60
endif ()
60
61
61
- include (CTest)
62
-
63
62
if (BUILD_TESTING)
64
63
message (STATUS "Tests are enabled.!" )
65
64
add_subdirectory (Test /commit)
Original file line number Diff line number Diff line change @@ -100,7 +100,6 @@ target_include_directories(glad SYSTEM
100
100
# https://stackoverflow.com/questions/49591804/clang-tidy-cmake-exclude-file-from-check/49591908#49591908
101
101
# with this trick IMGUI will be excluded from time consuming static code analysis
102
102
# we do not want to analyze imgui ...
103
- # include(cmake/CreateProjectFilesToTestLib.cmake)
104
103
# and we will not to all this for our testing executable again :)
105
104
add_library (
106
105
IMGUI
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments