mirror of
https://github.com/fosrl/newt.git
synced 2026-05-05 23:50:10 -05:00
[PR #200] [MERGED] feat(build): parallelize go-build-release and github actions with matrix #378
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/newt/pull/200
Author: @water-sucks
Created: 12/12/2025
Status: ✅ Merged
Merged: 12/13/2025
Merged by: @oschwartz10612
Base:
main← Head:parallelize-makefile📝 Commits (3)
de5627bfeat(build): parallelize go-build-release using separate arch rules865ac4bfeat(build): double-tag docker release builds with "latest" and tag name1dcb68dfeat(ci): use matrix for building all makefile targets in parallel📊 Changes
2 files changed (+59 additions, -18 deletions)
View changed files
📝
.github/workflows/test.yml(+20 -12)📝
Makefile(+39 -6)📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
This PR splits the
go-build-releaseMakefile rule into individual targets based on arch, and composes them such that they can be parallelized usingmake -j.It also applies this parallelization to the pull request CI workflow using a build matrix with each Makefile rule being a separate entry in said matrix, which cuts CI times massively.
How to test?
go-build-releaseshould work the same as before, and CI times should be cut by a non-trivial number.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.