Skip to content

chore: introduced local build scripts#2

Open
alicanerdogan wants to merge 2 commits intoHumanComputingInc:mainfrom
alicanerdogan:local-build-scripts
Open

chore: introduced local build scripts#2
alicanerdogan wants to merge 2 commits intoHumanComputingInc:mainfrom
alicanerdogan:local-build-scripts

Conversation

@alicanerdogan
Copy link
Copy Markdown

The following change includes scripts that help generating firmware files in local machine. This is an alternative to the GitHub actions. One advantage of using local builds is shortened feedback cycle between builds.

The build script leverages docker image for zmk arm builds. The integrity of the generated firmware files have been verified using cmp and sha256sum.

Copy link
Copy Markdown
Contributor

@AYM1607 AYM1607 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This is great, looks good overall. I'll merge this if we can get rid of the dependency on your home path. Could we also pass just the name of the artifact as an optional argument to the script? That'd make it okay to have the output of the firmware be a static directory relative to the script.

Comment thread scripts/docker.build.sh Outdated
#!/bin/bash
set -ex

SOURCE_DIR=$(pwd)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use "$( dirname -- "${BASH_SOURCE[0]}" )" instead? Also, let's not depend on your home path :)

@alicanerdogan alicanerdogan force-pushed the local-build-scripts branch 5 times, most recently from 9175ccb to fef44b6 Compare February 8, 2025 20:09
@alicanerdogan alicanerdogan requested a review from AYM1607 February 9, 2025 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants