34 lines
672 B
YAML
34 lines
672 B
YAML
include:
|
|
- component: gitlab.gnome.org/GNOME/citemplates/release-service@master
|
|
inputs:
|
|
job-stage: "deploy"
|
|
dist-job-name: "build-fedora"
|
|
tarball-artifact-path: "build/meson-dist/$CI_PROJECT_NAME-$CI_COMMIT_TAG.tar.xz"
|
|
|
|
stages:
|
|
- test
|
|
- deploy
|
|
|
|
variables:
|
|
DEPENDENCIES:
|
|
gcc
|
|
redhat-rpm-config
|
|
meson
|
|
glib2-devel
|
|
gobject-introspection-devel
|
|
gettext
|
|
git
|
|
|
|
build-fedora:
|
|
image: fedora:latest
|
|
stage: test
|
|
before_script:
|
|
- dnf install -y $DEPENDENCIES
|
|
script:
|
|
- meson setup build
|
|
- meson compile -C build
|
|
- meson dist -C build
|
|
artifacts:
|
|
expose_as: 'Tarball'
|
|
paths:
|
|
- build/meson-dist/
|