libgnt/libgnt
Clone
Summary
Browse
Changes
Graph
Make sure the zip file of docs extracts to the expected name
11 months ago, Gary Kramlich
e9f4e4f0cf13
Make sure the zip file of docs extracts to the expected name
Testing Done:
Ran locally and verified the zip file with unzip.
Reviewed at https://reviews.imfreedom.org/r/2466/
environment
:
-
REGISTRY_HOST=docker.io
-
REPOSITORY=libgnt/builders
-
DOCS_BUILD_IMAGE=${REGISTRY_HOST}/${REPOSITORY}:debian-bookworm-amd64
tasks
:
build
:
type
:
docker/run
image
:
${REGISTRY_HOST}/${REPOSITORY}:${TARGET}
clean
:
type
:
convey/clean
files
:
-
debian-bookworm-amd64
-
debian-bullseye-amd64
-
fedora-34-amd64
-
libgnt-docs
-
gnt3-docs.zip
docs-clean
:
type
:
convey/clean
files
:
-
libgnt-docs
-
gnt3-docs.zip
docs-build
:
type
:
docker/run
image
:
${DOCS_BUILD_IMAGE}
workdir
:
${CONVEY_WORKSPACE}
script
:
-
set -ex
-
meson setup build-docs -Ddoc=true
-
ninja -C build-docs doc
-
cd build-docs/doc
-
mv libgnt gnt3
-
zip -9r gnt3-docs.zip gnt3
docs-export
:
type
:
docker/export
files
:
-
build-docs/doc/gnt3-docs.zip:gnt3-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