Using GitHub Actions to Build Linux Kernels – 萌え豚's Blog
6 hours ago
- #Linux Kernel
- #GitHub Actions
- #BBR v3
- Google released BBR v3; using a kernel compiled with this patch is required.
- GitHub Actions automates software workflows, offering free usage for public repositories with certain limits.
- Using Docker for building the kernel is preferred for portability and reproducibility.
- Debian Docker image is set up with deb-src in sources.list for installing build dependencies.
- Build dependencies are installed via apt-get commands as per Debian documentation.
- Kernel configuration is downloaded from an official Debian package.
- BBR v3 source code is cloned from Google's GitHub repository.
- The kernel is built and packaged with BBR v3 integration, generating a tar archive.
- GitHub Actions workflow is configured to compile the kernel, triggered manually.
- The compiled kernel artifact is uploaded and available for download after the workflow completes.