Lines Matching +full:check +full:- +full:deprecated
2 set -eu
4 # For valgrind, value is arbitrarily low-ish
5 ulimit -n 2048
7 BUILD="$(mktemp --directory --tmpdir=.)"
8 trap 'rm -rf "$BUILD"' EXIT
10 meson format --recursive --inplace || true
11 if ! git diff --exit-code
15 echo https://mesonbuild.com/Style-guide.html
22 if ! git show --format="" --name-only HEAD -- CHANGELOG.md abi include/libpldm |
23 awk -f scripts/changelog.awk
30 # that we don't specify -Dabi=... - the default is equivalent to
31 # -Dabi=deprecated,stable,testing.
32 CC=gcc CXX=g++ CFLAGS=-fanalyzer meson setup "$BUILD"
33 meson compile -C "$BUILD"
34 meson test -C "$BUILD"
37 # -Db_ndebug=if-release by default, so building with --buildtype=release passes
38 # -DNDEBUG to the compiler for the library implementation. This build
41 meson configure --buildtype=release "$BUILD"
42 meson compile -C "$BUILD"
43 meson test -C "$BUILD" --timeout-multiplier 10 --wrapper 'valgrind --error-exitcode=1'
47 meson configure --buildtype=debug "$BUILD"
48 meson configure -Dabi=deprecated,stable "$BUILD"
49 ! command -v abi-compliance-checker > /dev/null ||
50 meson configure -Dabi-compliance-check=true "$BUILD"
51 meson compile -C "$BUILD"
52 meson test -C "$BUILD"
56 meson configure -Dabi=stable,testing "$BUILD"
57 meson configure -Dabi-compliance-check=false "$BUILD"
58 meson configure -Dtests=false "$BUILD"
59 meson compile -C "$BUILD"