2018-12-11 17:34:17 +03:00
|
|
|
freebsd_build_task:
|
|
|
|
|
|
|
|
freebsd_instance:
|
|
|
|
matrix:
|
2025-06-20 21:10:50 +02:00
|
|
|
image_family: freebsd-13-5-snap
|
|
|
|
image_family: freebsd-14-3-snap
|
2018-12-11 17:34:17 +03:00
|
|
|
cpu: 4
|
2021-09-16 13:48:10 +02:00
|
|
|
memory: 4G
|
2018-12-11 17:34:17 +03:00
|
|
|
|
|
|
|
env:
|
2024-11-12 15:01:40 +01:00
|
|
|
DEPENDENCIES: automake libtool gmake gcc openssl python3
|
python: Add flow filtering syntax.
Based on pyparsing, create a very simple filtering syntax.
It supports basic logic statements (and, &, or, ||, not, !), numerical
operations (<, >), equality (=, !=), and masking (~=). The latter is only
supported in certain fields (IntMask, EthMask, IPMask).
Masking operation is semantically equivalent to "includes",
therefore:
ip_src ~= 192.168.1.1
means that ip_src field is either a host IP address equal to 192.168.1.1
or an IPMask that includes it (e.g: 192.168.1.1/24).
Acked-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
2022-07-08 20:03:08 +02:00
|
|
|
PY_DEPS: sphinx|netaddr|pyparsing
|
2018-12-11 17:34:17 +03:00
|
|
|
matrix:
|
|
|
|
COMPILER: gcc
|
|
|
|
COMPILER: clang
|
|
|
|
|
|
|
|
prepare_script:
|
2019-05-14 19:23:59 +03:00
|
|
|
- sysctl -w kern.coredump=0
|
2020-03-27 09:51:51 +01:00
|
|
|
- pkg update -f
|
2018-12-26 18:24:00 +03:00
|
|
|
- pkg install -y ${DEPENDENCIES}
|
2021-05-06 14:27:23 +02:00
|
|
|
$(pkg search -xq "^py3[0-9]+-(${PY_DEPS})-[0-9]+" | xargs)
|
2018-12-11 17:34:17 +03:00
|
|
|
|
|
|
|
configure_script:
|
|
|
|
- ./boot.sh
|
2019-10-03 13:45:29 +02:00
|
|
|
- ./configure CC=${COMPILER} CFLAGS="-g -O2 -Wall"
|
|
|
|
MAKE=gmake --enable-Werror
|
2018-12-11 17:34:17 +03:00
|
|
|
|| { cat config.log; exit 1; }
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- gmake -j8
|
|
|
|
|
2018-12-26 18:24:00 +03:00
|
|
|
check_script:
|
|
|
|
- gmake -j8 check TESTSUITEFLAGS=-j8 RECHECK=yes
|
|
|
|
|| { cat ./tests/testsuite.log; exit 1; }
|