Skip to content

Commit

Permalink
ci/debian: Allow to install packages only for docparse
Browse files Browse the repository at this point in the history
Will be used in next commit.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
  • Loading branch information
pevik committed Jan 4, 2024
1 parent 690436c commit bac6e9d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion ci/debian.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh -eux
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (c) 2018-2021 Petr Vorel <pvorel@suse.cz>
# Copyright (c) 2018-2024 Petr Vorel <pvorel@suse.cz>

# workaround for missing oldstable-updates repository
# W: Failed to fetch http://deb.debian.org/debian/dists/oldstable-updates/main/binary-amd64/Packages
Expand All @@ -13,6 +13,18 @@ export DEBIAN_FRONTEND="noninteractive"

apt="apt install -y --no-install-recommends"

# see .github/workflows/metadata.yml
if [ -n "$PACKAGES_FOR_DOCPARSE_ONLY" ]; then
$apt \
asciidoctor \
autoconf \
automake \
gcc \
ruby-asciidoctor-pdf

return 0
fi

$apt \
acl-dev \
asciidoc \
Expand Down

0 comments on commit bac6e9d

Please sign in to comment.