From cb73e098ef3971dd1a0ea20a6f82bdc532502b68 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sat, 23 Apr 2022 16:09:21 +0100 Subject: [PATCH] workflows: Move gtk-doc enablement from clang to valgrind build We want to have gtk-doc enabled in the build that will run `make distcheck`, but the clang/CodeQL build seems like a poor fit for that, since it runs twice (for C and Python) and has extra instrumentation. Move it to the build where we will run tests under valgrind, which is already somewhat slow. Signed-off-by: Simon McVittie --- .github/workflows/check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 06d50635..41517d8d 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -128,7 +128,7 @@ jobs: with: submodules: true - name: configure - run: ./autogen.sh --enable-gtk-doc --enable-gtk-doc-html + run: ./autogen.sh env: CC: clang CFLAGS: -Werror=unused-variable @@ -172,7 +172,7 @@ jobs: run: | mkdir _build pushd _build - ../configure + ../configure --enable-gtk-doc --enable-gtk-doc-html popd env: CFLAGS: -O2