mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-04-29 23:49:41 +00:00
Build system: minor fixes about flag compilation and example dependencies (#3038)
- always use `-Wextra` compilation flag; it was already used in CI - always compile `ndpiSimpleIntegration` when building examples - don't mess with optimization flags: `CFLAGS` default value is "-g -O2" and the user can change it Try to test -O1,2,3,s flags in CI. Fix some warnings.
This commit is contained in:
parent
4096d758bb
commit
19ee4f6c33
11 changed files with 30 additions and 23 deletions
2
.github/workflows/build_masan.yml
vendored
2
.github/workflows/build_masan.yml
vendored
|
|
@ -20,7 +20,7 @@ jobs:
|
|||
runs-on: ubuntu-22.04 # TODO: some issues with masan/clang/ubuntu-24.04
|
||||
env:
|
||||
CC: clang
|
||||
CFLAGS: -Wextra -Werror -DNDPI_EXTENDED_SANITY_CHECKS
|
||||
CFLAGS: -Werror -DNDPI_EXTENDED_SANITY_CHECKS
|
||||
# Idea to have significant faster tests while pushing/merging: test all pcaps only on schedule runs; otherwise tests only the pcaps updated/added recently
|
||||
NDPI_TEST_ONLY_RECENTLY_UPDATED_PCAPS: ${{ (github.event_name == 'schedule') && '0' || '1' }}
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue