From 855a8f23feb3e68c39022f8a9fead01928d0ec26 Mon Sep 17 00:00:00 2001 From: Petr Vorel Date: Mon, 19 Jun 2023 18:16:02 +0200 Subject: [PATCH] ci: Don't test doc generation on Debian oldstable HTML generation with asciidoc is broken on Debian 11 bullseye (the new Debian oldstable): a2x: ERROR: "xsltproc" --stringparam toc.section.depth 1 --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0 --stringparam chunk.section.depth 0 --output "/__w/ltp/ltp/docparse/metadata.html" "/etc/asciidoc/docbook-xsl/xhtml.xsl" "/__w/ltp/ltp/docparse/metadata.xml" returned non-zero exit status 5 First reason is that docbook2x is needed to get required XSL (broken dependency, which is fixed on newer Debian versions). But even with it being installed, it still does not work on GitHub Actions, due somehow special network, e.g. ping 8.8.8.8 does not work (firewall?), code working in distro running via podman locally fails on CI: $ cd metadata && make error : Unknown IO error warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" compilation error: file /etc/asciidoc/docbook-xsl/xhtml.xsl line 12 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl Because asciidoc is tested on other distros, simply remove the test. Reported-by: Li Wang Reviewed-by: Li Wang Signed-off-by: Petr Vorel --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8e5dca86a1..d7e9f2dd0f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Petr Vorel +# Copyright (c) 2021-2023 Petr Vorel name: "CI: docker based builds" on: [push, pull_request] @@ -79,7 +79,6 @@ jobs: - container: "debian:oldstable" env: CC: clang - METADATA: asciidoc-pdf - container: "opensuse/leap" env: