Add Github Actions docker-based build system#160
Open
mike-code wants to merge 1 commit intodeividAlfa:masterfrom
Open
Add Github Actions docker-based build system#160mike-code wants to merge 1 commit intodeividAlfa:masterfrom
mike-code wants to merge 1 commit intodeividAlfa:masterfrom
Conversation
- Dockerfile: Ubuntu 22.04 + ARM toolchain + cached HAL/CMSIS - docker-compose.yml: mounts source ro, outputs binaries to ./build/ - scripts/docker-build.sh: generates CubeMX-equivalent init files at build time, replacing the CubeIDE/CubeMX dependency. - BUILD.md: documents Docker, Windows, and native build workflows Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When implementing #159 I've had to be able to build it on my machine and I didn't really want to spin up Windows environment just for this.
So I asked AI to figure out how to build it without having to install an IDE. What it came up with was this gigantic script which generates some stubs that are apparently used in CubeMX build toolkit (more explained in
BUILD.md). I can't say if this script is production ready, though perhaps you may want to place it somewhere for others who can't run a Windows build.Myself I only own KSGER v3 and I confirm the build does work on my board.
This PR also includes a Github action that triggers on Github Release, builds binaries and adds them to the Release automatically. See example release from this build