mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-18 13:52:53 -04:00
workflows: Explicitly enable/disable GObject-Introspection
For the build that uses --enable-asan, explicitly disable introspection, since the GObject-Introspection scanner works poorly with libtool and AddressSanitizer (see #4844); the only reason this worked until now is that --enable-asan doesn't currently do anything (again, see #4844). For the build that runs tests under valgrind, we already can't use AddressSanitizer, making this a good place to explicitly enable introspection, so that we have at least one build with it enabled. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
committed by
Alexander Larsson
parent
cb73e098ef
commit
1e09311621
6
.github/workflows/check.yml
vendored
6
.github/workflows/check.yml
vendored
@@ -65,10 +65,12 @@ jobs:
|
||||
- name: autogen.sh
|
||||
run: NOCONFIGURE=1 ./autogen.sh
|
||||
- name: configure
|
||||
# We don't do gtk-doc or GObject-Introspection here, because they can
|
||||
# clash with AddressSanitizer. Instead, the clang build enables those.
|
||||
run: |
|
||||
mkdir _build
|
||||
pushd _build
|
||||
../configure --enable-internal-checks --enable-asan
|
||||
../configure --enable-internal-checks --enable-asan --disable-introspection
|
||||
popd
|
||||
env:
|
||||
CFLAGS: -O2 -Wp,-D_FORTIFY_SOURCE=2
|
||||
@@ -172,7 +174,7 @@ jobs:
|
||||
run: |
|
||||
mkdir _build
|
||||
pushd _build
|
||||
../configure --enable-gtk-doc --enable-gtk-doc-html
|
||||
../configure --enable-gtk-doc --enable-gtk-doc-html --enable-introspection
|
||||
popd
|
||||
env:
|
||||
CFLAGS: -O2
|
||||
|
||||
Reference in New Issue
Block a user