-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Considered using nrf-docker for builds? #47
Comments
For instance:
|
Hello @evanraalte ! Yeah, I saw that docker image, as I researched options a bit for building example firmwares on tags, for example. The issue to build example firmwares: #36, workflow file that I used to test it with: https://github.com/ffenix113/zigbee_home/blob/feat/build-example-firmware/.github/workflows/example_build.yml Building the firmware takes some time, and I don't want to use shared Github runners to build example firmwares(at least often, like on merge to As for adding ability for users to use this image - good idea, probably the option could be added to the build command to run builds inside the docker container, it would definitely save hassle of setting SDK yourself. Thank you. |
@ffenix113 Ah yes, it is quite time consuming indeed. I'd say building these in CI on a release/merge to dev is probably still good to have. But perhaps, one could use a local test suite in addition, when developing new features? I wouldn't start with local runners on a public project, as that is a potential security issue. Regarding the build option for users. Perhaps a |
Currently I set up two toolchains through VSCode, but having option to run in Docker is a lot cleaner. Something to add, it would be a good addition.
I agree, and so does Github. I will set up Gihtub-hosted runner for firmware building and will see how it goes. |
Take a look #73 |
First of all, awesome project! I thought of this several years ago, but never started on it. Amazing to see that you took the initiative, thank you.
Just listing this here, in case you hadn't seen it yourself, but there is a docker image that could do the firmware builds for you. This is very beneficial when you want to run tests, or make it possible for users to compile without setting up the whole toolchain.
I might try to add this myself, but my main experience is in Python/C, so working with Go might be a bit of a hurdle here.
https://github.com/NordicPlayground/nrf-docker
The text was updated successfully, but these errors were encountered: