diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2022-11-17 22:42:06 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2022-11-20 22:42:06 +0100 |
commit | 77ee336cc941694b078906b7afda51dd21538450 (patch) | |
tree | 15a61fa852dbb4fe2bd3c1f70abc96d07651fd4b /.github/workflows/build.yml | |
parent | 9b7893909685828bc82eb7e943467217bec8a7c9 (diff) |
Added Network Buffer Size CI Check.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f4a447f37..aebd96f22 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,6 +54,11 @@ jobs: if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.ndpid_zlib, '-DENABLE_ZLIB=ON') run: | sudo apt-get install zlib1g-dev + - name: Checking Network Buffer Size + run: | + C_VAL=$(cat config.h | sed -n 's/^#define\s\+NETWORK_BUFFER_MAX_SIZE\s\+\([0-9]\+\).*$/\1/gp') + PY_VAL=$(cat dependencies/nDPIsrvd.py | sed -n 's/^NETWORK_BUFFER_MAX_SIZE = \([0-9]\+\).*$/\1/gp') + test ${C_VAL} = ${PY_VAL} - name: Configure nDPId run: | mkdir build && cd build |