From: Daniel Wagner Date: Fri, 2 Aug 2024 11:08:13 +0000 (+0200) Subject: build: add install step to doc CI build X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=9dd886a027a46b1166be4d415882643e04f3364f;p=users%2Fsagi%2Fnvme-cli.git build: add install step to doc CI build We had some fallouts which were happened at the install step when the documentation was build. Let's add this step, so we catch those errors in future. Signed-off-by: Daniel Wagner --- diff --git a/scripts/build.sh b/scripts/build.sh index a88336fb..1c2df508 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -123,6 +123,7 @@ config_meson_docs() { -Ddocs=all \ -Ddocs-build=true \ --force-fallback-for=libnvme \ + --prefix=/tmp/usr \ -Dlibnvme:werror=false \ "${BUILDDIR}" } @@ -154,7 +155,12 @@ test_meson_coverage() { } install_meson_appimage() { - "${MESON}" install \ + "${MESON}" install \ + -C "${BUILDDIR}" +} + +install_meson_docs() { + "${MESON}" install \ -C "${BUILDDIR}" }