Commit 1aa0809e authored by Piotr Roszatycki's avatar Piotr Roszatycki

ci: test with debootstrap

parent 483cfe94
Pipeline #40206 failed
......@@ -3,7 +3,7 @@ before_script:
- apt-get install debian-archive-keyring
- apt-get update
- apt-get dist-upgrade -y
- apt-get install --no-install-recommends -y build-essential dpkg-dev debhelper dh-autoreconf fakeroot git-buildpackage libjemalloc-dev lintian pristine-tar sudo
- apt-get install --no-install-recommends -y build-essential debhelper debootstrap dh-autoreconf dpkg-dev fakeroot git-buildpackage libjemalloc-dev lintian pristine-tar sudo
- git fetch origin +upstream:upstream
- git fetch origin +pristine-tar:pristine-tar
- useradd -d $(dirname $CI_PROJECT_DIR) -g users -M -N builder
......@@ -17,10 +17,13 @@ before_script:
- sudo -E -u builder debc
- sudo -E -u builder lintian --dont-check-part standards-version --fail-on-warnings --color always --info ../*.changes
- dpkg --install ../*.deb
- test `sudo -E -u builder FAKECHROOT_DETECT=1 fakechroot /bin/echo ok | awk '{print $1}'` = fakechroot
test:buster:
<<: *test_template
image: debian:buster
variables:
TEST_DEBOOTSTRAP: yes
test:sid:
<<: *test_template
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment