Clean build directory before building
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
71c9c60a3d
commit
aa8a5654bb
1 changed files with 5 additions and 2 deletions
|
@ -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/
|
||||||
|
|
Loading…
Reference in a new issue