summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:45:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:45:26 +0000
commitea13660109d7a1bdcc72562c377cf6e627a46799 (patch)
tree392fcd2295d2351eff2feeeee4b609214ef7217e /.gitlab-ci.yml
parentAdding upstream version 0.30.0. (diff)
downloadxserver-xorg-input-libinput-ea13660109d7a1bdcc72562c377cf6e627a46799.tar.xz
xserver-xorg-input-libinput-ea13660109d7a1bdcc72562c377cf6e627a46799.zip
Adding debian version 0.30.0-1.debian/0.30.0-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml55
1 files changed, 55 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..0397f91
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,55 @@
+# vim: set expandtab shiftwidth=2 tabstop=8 textwidth=0:
+
+include:
+ - project: 'freedesktop/ci-templates'
+ ref: 59de540b620c45739871d1a073d76d5521989d11 # see https://docs.gitlab.com/ee/ci/yaml/#includefile
+ file: '/templates/fedora.yml'
+
+
+variables:
+ FDO_UPSTREAM_REPO: xorg/drivers/xf86-input-libinput
+
+
+stages:
+ - containers
+ - build
+
+
+.fedora:
+ variables:
+ FDO_DISTRIBUTION_VERSION: 32
+ FDO_DISTRIBUTION_PACKAGES: 'git autoconf automake libtool make xorg-x11-server-devel libudev-devel libevdev-devel libinput-devel xorg-x11-util-macros'
+ FDO_DISTRIBUTION_TAG: '2020-05-19.0'
+
+
+fedora@container_build:
+ extends:
+ - .fedora
+ - .fdo.container-build@fedora
+ stage: containers
+ variables:
+ GIT_STRATEGY: none
+
+
+.default_build:
+ stage: build
+ script:
+ - mkdir _builddir _inst
+ - pushd _builddir > /dev/null
+ - ../autogen.sh --prefix=$(realpath ../_inst) --disable-silent-rules
+ - make && make check
+ - make install
+ - popd > /dev/null
+ artifacts:
+ name: "automake-logs-$CI_JOB_NAME"
+ when: always
+ expire_in: 1 week
+ paths:
+ - _builddir/config.log
+
+
+fedora:32@default-build:
+ extends:
+ - .fedora
+ - .fdo.distribution-image@fedora
+ - .default_build