zmk/nix
Chris Andreae c7fc3432cd
Docker container and lambda function for performing firmware builds
Provides an entry point that builds and returns a combined LH + RH keyboard
firmware when provided a keymap via a POST body.

Wraps compilation with ccache, and includes a pre-warmed cache of the build in /tmp/ccache.
To maximize chance of a direct cache hit, changes the lambda driver to always build in /tmp/build.

some back of the envelope measurements (2012 xeon e3-1230v2, nixos)
clean build, no cache -> 21.308
clean build, cache -> 7.145
modified keymap, clean build, cache -> 12.127
2022-12-24 13:00:14 +09:00
..
update-manifest Nix derivations for zmk/zephyr 2022-12-24 13:00:14 +09:00
ccache.nix Docker container and lambda function for performing firmware builds 2022-12-24 13:00:14 +09:00
cmake-shell.nix Github build action: build Glove80 combined firmware using Nix 2022-12-24 13:00:14 +09:00
generate-pin.rb Github build action: build Glove80 combined firmware using Nix 2022-12-24 13:00:14 +09:00
manifest.json Nix derivations for zmk/zephyr 2022-12-24 13:00:14 +09:00
pinned-nixpkgs.json Github build action: build Glove80 combined firmware using Nix 2022-12-24 13:00:14 +09:00
pinned-nixpkgs.nix Github build action: build Glove80 combined firmware using Nix 2022-12-24 13:00:14 +09:00
west-shell.nix Github build action: build Glove80 combined firmware using Nix 2022-12-24 13:00:14 +09:00
zephyr.nix Nix derivations for zmk/zephyr 2022-12-24 13:00:14 +09:00
zmk.nix Docker container and lambda function for performing firmware builds 2022-12-24 13:00:14 +09:00