Merge branch 'release-ci' into 'main'

ci: Configure tarball releases

See merge request GNOME/blueprint-compiler!250
This commit is contained in:
James Westman 2025-06-15 04:52:07 -05:00
commit 4b7e5bb8ea

View file

@ -1,7 +1,19 @@
include:
- component: "gitlab.gnome.org/GNOME/citemplates/release-service@master"
inputs:
job-stage: "release"
dist-job-name: "build-release-tarball"
tarball-artifact-path: "${TARBALL_ARTIFACT_PATH}"
stages: stages:
- build - build
- release
- pages - pages
variables:
MESON_BUILD_DIR: "_build"
TARBALL_ARTIFACT_PATH: "${MESON_BUILD_DIR}/meson-dist/${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.tar.xz"
build: build:
image: registry.gitlab.gnome.org/gnome/blueprint-compiler image: registry.gitlab.gnome.org/gnome/blueprint-compiler
stage: build stage: build
@ -45,6 +57,20 @@ fuzz:
- corpus - corpus
- crashes - crashes
build-release-tarball:
stage: build
image: registry.gitlab.gnome.org/gnome/blueprint-compiler
only:
- tags
script:
- meson setup "${MESON_BUILD_DIR}"
- xvfb-run meson dist -C "${MESON_BUILD_DIR}" --include-subprojects
artifacts:
name: "${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
when: "always"
paths:
- "${TARBALL_ARTIFACT_PATH}"
pages: pages:
stage: pages stage: pages
dependencies: dependencies: