mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-06-21 23:19:24 -04:00
Merge branch 'release-ci' into 'main'
ci: Configure tarball releases See merge request GNOME/blueprint-compiler!250
This commit is contained in:
commit
4b7e5bb8ea
1 changed files with 26 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue