Skip to content

Commit

Permalink
[#407] Alternative coverage flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Donnie-Ice committed Dec 9, 2024
1 parent 14100a3 commit 48f7b18
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ jobs:
run: apt-get update
- name: install dependencies
run: apt-get install -y gcc lcov
- name: prep
run: make prep
- name: make
run: make
- name: config
run: make config
- name: build-test
run: make build-test
- name: sample
run: make coverage-sample
- name: Generate Coverage Report
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ ifneq ($(BUILDTYPE),)
PREP_OPTS += -DCMAKE_BUILD_TYPE=$(BUILDTYPE)
endif

PREP_OPTS += $(CFLAGS)

# The "LOCALTGTS" defines the top-level targets that are implemented in this makefile
# Any other target may also be given, in that case it will simply be passed through.
LOCALTGTS := all checkout clean clean-fsw clean-sim clean-gsw config debug fsw gsw launch log prep real-clean sim stop stop-gsw
LOCALTGTS := all checkout clean clean-fsw clean-sim clean-gsw config coverage-sample debug fsw gsw launch log prep real-clean sim stop stop-gsw
OTHERTGTS := $(filter-out $(LOCALTGTS),$(MAKECMDGOALS))

# As this makefile does not build any real files, treat everything as a PHONY target
Expand Down

0 comments on commit 48f7b18

Please sign in to comment.