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 <smcv@collabora.com>
This commit is contained in:
Simon McVittie
2022-04-23 16:09:21 +01:00
committed by Alexander Larsson
parent cbb61761e7
commit cb73e098ef

View File

@@ -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