learning how to deploy packages to Debian and Arch because WSL exists…

debian

this encapsulates the debugging process 🥲

this encapsulates the debugging process 🥲

use case

i already have the built ELF executable, i just need to publish it as a .deb through Github Actions

prerequisites

high-level packaging process

at a high-level, packaging for debian involves the following:

flowchart TD
	a[generate arm64 ELF]
	b[generate amd64 ELF]
	a --> c[upload artifact]
	b --> d[upload artifact]
	c --> e[trigger publish]
	d --> e
	e --> f[generate Debian package structure and build .deb for arm64]
	e --> g[generate Debian package structure and build .deb for amd64]
	f --> h[call external workflow to publish to reprepro hosted on Github Pages]
	g --> h
	h --> i[setup repo/conf for PPA, sign both .deb, and publish]