[PATCH] gitlab-ci: Don't build docs in 'sanitizer' jobs

Peter Krempa posted 1 patch 2 years, 9 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/3723b3099b0e99db0432d5f7cf302a54c7bc03f9.1623771949.git.pkrempa@redhat.com
.gitlab-ci.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] gitlab-ci: Don't build docs in 'sanitizer' jobs
Posted by Peter Krempa 2 years, 9 months ago
Docs are not sanitized, thus there's no point in building them.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b5930a0a46..3fa616261e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -86,7 +86,7 @@ stages:
   before_script:
     - *script_variables
   script:
-    - meson build --werror -Db_lundef=false -Db_sanitize="$SANITIZER"
+    - meson build --werror -Ddocs=disabled -Db_lundef=false -Db_sanitize="$SANITIZER"
     - ninja -C build;
     - ninja -C build test;

-- 
2.31.1

Re: [PATCH] gitlab-ci: Don't build docs in 'sanitizer' jobs
Posted by Tim Wiederhake 2 years, 9 months ago
On Tue, 2021-06-15 at 17:45 +0200, Peter Krempa wrote:
> Docs are not sanitized, thus there's no point in building them.
> 
> Signed-off-by: Peter Krempa <pkrempa@redhat.com>

Reviewed-by: Tim Wiederhake <twiederh@redhat.com>

> ---
>  .gitlab-ci.yml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index b5930a0a46..3fa616261e 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -86,7 +86,7 @@ stages:
>    before_script:
>      - *script_variables
>    script:
> -    - meson build --werror -Db_lundef=false -
> Db_sanitize="$SANITIZER"
> +    - meson build --werror -Ddocs=disabled -Db_lundef=false -
> Db_sanitize="$SANITIZER"
>      - ninja -C build;
>      - ninja -C build test;
>