mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-06-21 23:19:24 -04:00
ci: Configure tarball releases
This commit is contained in:
parent
4d42bd68c1
commit
8109a0b6a4
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:
|
||||
- build
|
||||
- release
|
||||
- pages
|
||||
|
||||
variables:
|
||||
MESON_BUILD_DIR: "_build"
|
||||
TARBALL_ARTIFACT_PATH: "${MESON_BUILD_DIR}/meson-dist/${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.tar.xz"
|
||||
|
||||
build:
|
||||
image: registry.gitlab.gnome.org/gnome/blueprint-compiler
|
||||
stage: build
|
||||
|
@ -45,6 +57,20 @@ fuzz:
|
|||
- corpus
|
||||
- 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:
|
||||
stage: pages
|
||||
dependencies:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue