From bcf0c41184a3e2894a385e6154fe4f0ccaa1d23d Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Tue, 7 Aug 2018 12:27:11 +0500 Subject: [PATCH] add debian package builds to gitlab-ci.yml --- .gitlab-ci.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..e0db1165 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,35 @@ +.ubuntu: &ubuntu_def + before_script: + - apt-get update && apt-get install -y debhelper devscripts fakeroot ${CMAKE} dh-exec gcc libncurses5-dev libreadline-dev libssl-dev make zlib1g-dev git + script: + - debuild -i -us -uc -b + +bionic: + <<: *ubuntu_def + image: ubuntu:bionic + variables: + CMAKE: cmake + +xenial: + <<: *ubuntu_def + image: ubuntu:xenial + variables: + CMAKE: cmake + +trusty: + <<: *ubuntu_def + image: ubuntu:trusty + variables: + CMAKE: cmake3 + + +# +# there's no cmake3 for 12.04 +# maybe, there's ppa ? +# +#precise: +# <<: *ubuntu_def +# image: ubuntu:precise +# variables: +# CMAKE: cmake3 +