From 509456cb50ed4269f1528c286682a85fcbd0403d Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Mon, 1 May 2023 10:26:37 +0200 Subject: [PATCH] ci: Build tarball for tags --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 07fecaa..a9fc38d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,6 +33,19 @@ build:native: - meson ${BUILD_OPTS} . _build - ninja -C _build +build:tarball: + stage: build + image: "${DEBIAN_IMAGE}" + tags: [] + artifacts: + paths: + - _build/meson-dist + script: + - meson setup . _build + - xvfb-run -s -noreset meson dist -C _build + only: + - tags + test:native: extends: build:native stage: test