diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 13:18:04 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 13:18:04 +0000 |
commit | 519cbf08704063b930fa613235d4a598105a449a (patch) | |
tree | 426a5a2a33b5ea123678481edd7d59dcf7ff58e9 /debian/.gitlab-ci.yml | |
parent | Adding upstream version 2:8.2.2434. (diff) | |
download | vim-debian/2%8.2.2434-3+deb11u1.tar.xz vim-debian/2%8.2.2434-3+deb11u1.zip |
Adding debian version 2:8.2.2434-3+deb11u1.debian/2%8.2.2434-3+deb11u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/.gitlab-ci.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/.gitlab-ci.yml b/debian/.gitlab-ci.yml new file mode 100644 index 0000000..78c2f70 --- /dev/null +++ b/debian/.gitlab-ci.yml @@ -0,0 +1,19 @@ +.build_template: &build + only: + - branches + before_script: + - adduser --home /home/ci ci --quiet --disabled-login --gecos "" --uid 1000 + - apt-get -q update + - env DEBIAN_FRONTEND=noninteractive apt-get -q -y -o Debug::pkgProblemResolver=yes build-dep . + - env DEBIAN_FRONTEND=noninteractive apt-get -q -y -o Debug::pkgProblemResolver=yes install --no-install-recommends gitpkg fakeroot sudo + - rm -rf ../deb-packages/vim + - install -d -o ci ../deb-packages ../deb-packages/vim + - export UPSTREAM_VERSION=$(dpkg-parsechangelog -SVersion | sed -e 's/^[0-9]*://' -e 's/\(.*\)-[^-]*/\1/') + - sudo -u ci gitpkg --keep-unpacked-source "$CI_COMMIT_SHA" v"$UPSTREAM_VERSION" + script: + - cd ../deb-packages/vim/vim-"$UPSTREAM_VERSION" + - sudo -u ci dpkg-buildpackage -us -uc + +test:bullseye: + <<: *build + image: debian:bullseye |