Skip to content

Commit c9458c5

Browse files
committed
Add coverity scans (#411)
1 parent e98dc71 commit c9458c5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/coverity.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: |
3535
set(ENV{CC} gcc-11)
3636
set(ENV{CXX} g++-11)
37-
37+
3838
execute_process(
3939
COMMAND ${CMAKE_COMMAND}
4040
-S .
@@ -50,10 +50,12 @@ jobs:
5050
message(FATAL_ERROR "Could not run with ${CMAKE_COMMAND}: Got ${error_message} - ${result}")
5151
endif()
5252
- name: Build
53-
shell: cmake -P {0}
53+
shell: |
54+
export PATH=`pwd`/cov-analysis-linux64/bin:$PATH
55+
cmake -P {0}
5456
run: |
5557
execute_process(
56-
COMMAND cov-analysis-linux64/bin/cov-build --dir cov-int ${CMAKE_COMMAND} --build build
58+
COMMAND cov-build --dir cov-int ${CMAKE_COMMAND} --build build
5759
RESULT_VARIABLE result
5860
ERROR_VARIABLE error_message
5961
)

0 commit comments

Comments
 (0)