Skip to content

Commit f40d192

Browse files
committed
CI: Do not run "ninja -C ci_scanbuild" on OpenMandriva
Default build options need glib2.0 HTML documentation which does not exist there. <mesonbuild/meson#1167>
1 parent 2dea598 commit f40d192

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.ci/openmandriva/Dockerfile.deps.tmpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ RUN dnf -y --setopt=install_weak_deps=False --setopt=tsflags='' install \
2121
'python3dist(autopep8)' \
2222
'python3dist(pygobject)' \
2323
git-core \
24-
elinks \
2524
&& dnf -y clean all
2625

2726
RUN ln -sf /builddir/bindings/python/gi/overrides/Modulemd.py $(python3 -c "import gi; import os; os.makedirs(gi._overridesdir, exist_ok=True); print(gi._overridesdir)")/Modulemd.py

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@ jobs:
441441
'python3dist(pygobject)'
442442
'pkgconfig(rpm)'
443443
git-core
444-
elinks
445444

446445
- name: Checkout code
447446
uses: actions/checkout@v4
@@ -460,7 +459,8 @@ jobs:
460459
- name: Run CI tests
461460
run: meson test -C ci --suite ci --print-errorlogs -t 5
462461

463-
- name: Run clang static analysis tests
464-
run: |
465-
meson setup --buildtype=debug -Dwith_docs=false -Dskip_introspection=true -Dwith_py3=false ci_scanbuild
466-
ninja -C ci_scanbuild scan-build; if [ $? -ne 0 ]; then elinks -dump ci_scanbuild/meson-logs/scanbuild/*/index.html; fi
462+
# Do not run "ninja scan-build" on this platform because glib2.0
463+
# HTML documentation does not exist and -Dwith_docs=false is needed.
464+
# The internal scan-build target ignores build options
465+
# <https://github.com/mesonbuild/meson/issues/1167> and the build would
466+
# fail.

0 commit comments

Comments
 (0)