X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=.ci%2Flinux-build.sh;h=6075c440cd5a9afedb2fc609105164492d04428e;hb=23bdcedcd8caa0d268b615df3bdb08411f97856e;hp=d5ad919d140f80a60243f30dd4c3fdfbe05bc615;hpb=ad2b2cfb1ea352972deada8a8d2e9ba20102e2ae;p=dpdk.git diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh index d5ad919d14..6075c440cd 100755 --- a/.ci/linux-build.sh +++ b/.ci/linux-build.sh @@ -19,14 +19,14 @@ if [ "$AARCH64" = "1" ]; then OPTS="$OPTS --cross-file config/arm/arm64_armv8_linux_gcc" fi +if [ "$BUILD_DOCS" = "1" ]; then + OPTS="$OPTS -Denable_docs=true" +fi + OPTS="$OPTS --default-library=$DEF_LIB" meson build --werror -Dexamples=all $OPTS ninja -C build -if [ "$BUILD_DOCS" = "1" ]; then - ninja -C build doc -fi - if [ "$RUN_TESTS" = "1" ]; then sudo meson test -C build --suite fast-tests -t 3 fi