Clean build directory before building
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
lagertonne 2022-04-23 09:17:57 +02:00
parent 71c9c60a3d
commit aa8a5654bb

View file

@ -7,7 +7,8 @@ steps:
commands: commands:
- apt update - apt update
- apt -y upgrade - apt -y upgrade
- apt -y install --no-install-recommends build-essential equivs devscripts - apt -y install --no-install-recommends build-essential equivs devscripts git
- git clean -f -d -x
- mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control - mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control
- dpkg-buildpackage -b -uc - dpkg-buildpackage -b -uc
- mkdir -p /drone/deb_files/buster/ - mkdir -p /drone/deb_files/buster/
@ -17,9 +18,11 @@ steps:
- name: Build Buster - name: Build Buster
image: debian:buster image: debian:buster
commands: commands:
- git clean -f -d -x
- apt update - apt update
- apt -y upgrade - apt -y upgrade
- apt -y install --no-install-recommends build-essential equivs devscripts - apt -y install --no-install-recommends build-essential equivs devscripts git
- git clean -f -d -x
- mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control - mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control
- dpkg-buildpackage -b -uc - dpkg-buildpackage -b -uc
- mkdir -p /drone/deb_files/buster/ - mkdir -p /drone/deb_files/buster/