diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index f209b5e..767a45e 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -106,11 +106,13 @@ jobs: # Install build dependencies echo 'Installing build dependencies...' + apt-get update + apt-get build-dep -y . || echo 'Build deps installation failed, continuing...' mk-build-deps -i -t 'apt-get -y' debian/control || echo 'Build deps installation failed, continuing...' # Ensure we have all necessary build tools echo 'Installing additional build tools...' - apt-get update && apt-get install -y build-essential fakeroot devscripts || echo 'Additional tools installation failed' + apt-get install -y build-essential fakeroot devscripts || echo 'Additional tools installation failed' # Check source package structure echo 'Checking source package structure...' @@ -139,7 +141,7 @@ jobs: echo 'Running dpkg-buildpackage with verbose output...' echo 'Forcing binary package build...' - if dpkg-buildpackage -us -uc -b -v --build=any,all; then + if dpkg-buildpackage -us -uc --build=source,binary -v; then echo 'Build successful!' else echo 'Build failed! Checking for any partial packages...'