Skip to content

Commit

Permalink
ci: stop linting with nanosvg support enabled
Browse files Browse the repository at this point in the history
- this generate a lot of warnings with clang-tidy & cppcheck in
  nanosvg & stb headers
- it does not match our default configuration on koreader anyway
  (where lunasvg is used)
  • Loading branch information
benoit-pierre committed Jul 28, 2024
1 parent 49fe458 commit b674e51
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ jobs:
libfribidi-dev
libharfbuzz-dev
libjpeg-turbo8-dev
libnanosvg-dev
libstb-dev
libunibreak-dev
libutf8proc-dev
libxml2-utils
Expand Down
4 changes: 1 addition & 3 deletions utils/lint.mk
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ define CPPFLAGS+=
-DUSE_FRIBIDI=1
-DUSE_HARFBUZZ=1
-DUSE_LIBUNIBREAK=1
-DUSE_NANOSVG=1
-DUSE_NANOSVG=0
-DUSE_UTF8PROC=1
-DUSE_ZSTD=1
endef
Expand All @@ -224,8 +224,6 @@ libutf8proc
endef
CPPFLAGS += $(shell echo 'pkg-config!' >>log; pkg-config --cflags $(strip $(PACKAGES)))
define CPPFLAGS+=
-I/usr/include/nanosvg
-I/usr/include/stb
-Ithirdparty/antiword
-Ithirdparty/chmlib/src
-Icrengine/include
Expand Down

0 comments on commit b674e51

Please sign in to comment.