libgnt/libgnt
Clone
Summary
Browse
Changes
Graph
Put the documentation into a zip file
release-2.x.y
11 months ago, Gary Kramlich
73d8724225e7
Put the documentation into a zip file
Testing Done:
Ran locally and verified the zip file with `unzip`.
Reviewed at https://reviews.imfreedom.org/r/2467/
environment
:
-
REGISTRY=docker.io
-
REPOSITORY=libgnt/builders
-
DOCS_BUILD_IMAGE=${REGISTRY}/${REPOSITORY}:debian-bookworm-amd64
tasks
:
build
:
type
:
docker/run
image
:
docker.io/libgnt/builders:${TARGET}
clean
:
type
:
convey/clean
files
:
-
debian-bookworm-amd64
-
debian-bullseye-amd64
-
fedora-34-amd64
-
libgnt-docs
-
gnt2-docs.zip
docs-clean
:
type
:
convey/clean
files
:
-
libgnt-docs
-
gnt2-docs.zip
docs-build
:
type
:
docker/run
image
:
${DOCS_BUILD_IMAGE}
workdir
:
${CONVEY_WORKSPACE}
script
:
-
set -ex
-
meson setup build-docs -Ddoc=true -Dpython2=false
-
ninja -C build-docs libgnt-doc
-
cd build-docs/doc
-
mv html gnt2
-
zip -9r gnt2-docs.zip gnt2
docs-export
:
type
:
docker/export
files
:
-
build-docs/doc/gnt2-docs.zip:gnt2-docs.zip
export
:
type
:
docker/export
files
:
${TARGET}:.
import
:
type
:
docker/import
files
:
.:.
plans
:
docs
:
stages
:
-
tasks
:
-
docs-clean
-
import
-
docs-build
-
docs-export
clean
:
stages
:
-
tasks
:
clean
debian-bullseye-amd64
:
environment
:
TARGET=debian-bullseye-amd64
stages
:
-
tasks
:
[
import
,
build
]
-
tasks
:
export
run
:
always
debian-bookworm-amd64
:
environment
:
TARGET=debian-bookworm-amd64
stages
:
-
tasks
:
[
import
,
build
]
-
tasks
:
export
run
:
always
fedora-34-amd64
:
environment
:
TARGET=fedora-34-amd64
stages
:
-
tasks
:
[
import
,
build
]
-
tasks
:
export
run
:
always