libgnt/libgnt

Overhaul convey.yml
release-2.x.y
2021-09-27, Gary Kramlich
cfcf6ff3913e
Overhaul convey.yml

Testing Done:
Run all of the plans.

Reviewed at https://reviews.imfreedom.org/r/954/
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:
- libgnt-docs
docs-clean:
type: convey/clean
files: libgnt-docs
docs-build:
type: docker/run
image: ${DOCS_BUILD_IMAGE}
workdir: ${CONVEY_WORKSPACE}
script:
- set -ex
- meson build-docs
- ninja -C build-docs libgnt-doc
docs-export:
type: docker/export
files: build-docs/doc/html:libgnt-docs
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]
debian-bookworm-amd64:
environment: TARGET=debian-bookworm-amd64
stages:
- tasks: [import, build]
fedora-34-amd64:
environment: TARGET=fedora-34-amd64
stages:
- tasks: [import, build]