-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add support for covr * add gcovr action * add gcovr in docker and remove duplication
- Loading branch information
1 parent
4830abb
commit 6015139
Showing
6 changed files
with
45 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
.vscode/ | ||
.vs/ | ||
build/ | ||
build_*/ | ||
tools/StateMachineGenerator/*.c | ||
tools/StateMachineGenerator/*.h | ||
tools/template_generator/*.c | ||
tools/template_generator/*.h | ||
tools/template_generator/CMakeLists.txt | ||
doxygen/ | ||
tools/template_generator/__pycache__/ | ||
Testing/ | ||
Testing/ | ||
coverage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,14 @@ | ||
.PHONY: help \ | ||
docker_build_image \ | ||
docker_run_bash \ | ||
docker_build_clean \ | ||
docker_build \ | ||
docker_run_tests | ||
docker_run_bash | ||
|
||
docker_build_image: | ||
docker build . --tag toolchains | ||
|
||
docker_run_bash: | ||
docker run --mount src=".",target=/home/framework,type=bind -it --rm toolchains | ||
|
||
docker_build_clean: | ||
docker run \ | ||
--mount src=".",target=/home/framework,type=bind \ | ||
--rm toolchains \ | ||
rm -rf build; \ | ||
mkdir build; \ | ||
cmake -S . -B build; \ | ||
cmake --build build | ||
|
||
docker_build: | ||
docker run \ | ||
--mount src=".",target=/home/framework,type=bind \ | ||
--rm toolchains \ | ||
cmake -S . -B build; \ | ||
cmake --build build | ||
|
||
docker_run_tests: | ||
docker run \ | ||
--mount src=".",target=/home/framework,type=bind \ | ||
--rm toolchains \ | ||
./build/tests/ez_unit_test | ||
help: | ||
$(info lists of targets:) | ||
$(info lists of commands:) | ||
$(info docker_build_image: build docker image based on the dockerfile) | ||
$(info docker_run_bash: run container in interactive mode) | ||
$(info docker_build_clean: Clean build of the software) | ||
$(info docker_build: build the software, provided that the build folder is available) | ||
$(info docker_run_tests: run available unit test) | ||
$(info help: print this message) | ||
$(info docker_run_bash: run container in interactive mode) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters