ci: Create packages for Debian12, Ubuntu 24.04 and Ubuntu 22.04 in CI, fixes #858
Issue: #858 (closed)
Edited by Pea Nut
Merge request reports
Activity
assigned to @peanut2
Open TODOs
-
There is still the patch
docker/0001-build-fix-build-on-ubuntu-23.04-with-qt6.4.patch
. Is it only required for Ubunut 22.04? - The CI takes a very long time. Even when I comment the existing CI stuff, creating 2 builds (riseup + bitmask) on 3 System takes ~ 30 minutes (We could probably half the time when we do not build debug builds
- Need to sign and upload builds to ppa
Edited by Pea Nut-
There is still the patch
- the patch is required for both 22.04 and 23.04 and debian 12 (for building with any Qt6 version < 6.6)
- about the time it takes in the CI, maybe we can run the jobs parallel since they don't depend on each other?
- the
RELEASE=yes
flag doesn't work as expected currently so sadly only release builds is not possible without patching the qmake project file
The patch is added, the CI should be green now (let's wait another 30 minutes).
- Do we still need the Dockerfile in the repo?
- I added a commit which removed the
toolchain
entry in go.mod. Without, the CI failed (but only on Debian?): https://0xacab.org/leap/bitmask-vpn/-/pipelines/236492
go: downloading go1.22.2 (linux/amd64) go: download go1.22.2 for linux/amd64: toolchain not available
Ready for review.
For the ppa worth referring their versioning document https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage
I added a commit which removed the
toolchain
entry in go.mod. Without, the CI failed (but only on Debian?): https://0xacab.org/leap/bitmask-vpn/-/pipelines/236492from the logs:
cp build/qt/release/bitmask-vpn /builds/leap/bitmask-vpn/build/bitmask/build/bitmask-vpn_0.24.8-4/debian/bitmask-vpn/usr/bin/bitmask-vpn strip /builds/leap/bitmask-vpn/build/bitmask/build/bitmask-vpn_0.24.8-4/debian/bitmask-vpn/usr/bin/bitmask-vpn dh_install make[1]: Leaving directory '/builds/leap/bitmask-vpn/build/bitmask/build/bitmask-vpn_0.24.8-4' dh_installdocs -O--buildsystem=golang dh_installchangelogs -O--buildsystem=golang dh_installinit -O--buildsystem=golang dh_installsystemduser -O--buildsystem=golang dh_icons -O--buildsystem=golang dh_perl -O--buildsystem=golang dh_link -O--buildsystem=golang dh_strip_nondeterminism -O--buildsystem=golang dh_compress -O--buildsystem=golang dh_fixperms -O--buildsystem=golang dh_missing -O--buildsystem=golang dh_strip -O--buildsystem=golang dh_makeshlibs -O--buildsystem=golang dh_shlibdeps -O--buildsystem=golang dh_installdeb -O--buildsystem=golang dh_golang -O--buildsystem=golang go: downloading go1.22.2 (linux/amd64) go: download go1.22.2 for linux/amd64: toolchain not available go: downloading go1.22.2 (linux/amd64) go: download go1.22.2 for linux/amd64: toolchain not available dh_golang: error: go list -f '{{ range .Deps }}{{.}} {{ end }}' returned exit code 1 make: *** [debian/rules:35: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 debuild: fatal error at line 1182: dpkg-buildpackage -us -uc -ui failed make[1]: *** [Makefile:105: pkg_deb] Error 29 make[1]: Leaving directory '/builds/leap/bitmask-vpn/build/bitmask' make: *** [Makefile:438: package_deb] Error 2
this error occurs after the go build steps are done, during some
debuild
step so the cause would be in therun
file
Please register or sign in to reply