summaryrefslogtreecommitdiffstats
path: root/debian/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/.gitlab-ci.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/.gitlab-ci.yml b/debian/.gitlab-ci.yml
new file mode 100644
index 0000000..1f019b6
--- /dev/null
+++ b/debian/.gitlab-ci.yml
@@ -0,0 +1,29 @@
+image: debian:sid
+
+variables:
+ PKG: debootstrap
+
+stages:
+ - build
+# - autopkgtest
+
+package_build:
+ stage: build
+ script:
+ - apt update -qq
+ - apt build-dep ./ -y -qq
+ - apt install -y -qq dpkg-dev devscripts
+ - dpkg-buildpackage -us -uc
+ - mkdir build && cd ../ && ls -al && dcmd ./${PKG}_*.changes mv ${PKG}/build/
+ artifacts:
+ paths:
+ - build/*
+
+#autopkgtest:
+# stage: autopkgtest
+# script:
+# - apt update -qq
+# - apt install -y -qq autopkgtest
+# - autopkgtest build/*.changes -- null
+# dependencies:
+# - package_build