NabuCasa / silabs-firmware-builder

Silicon Labs firmware builder
42 stars 54 forks source link

Support act for local building #38

Closed puddly closed 6 months ago

puddly commented 7 months ago

These are some minor changes to get the builder working locally with act. I'm using it to build multi-PAN firmwares and it creates the firmware builder image, uploads it (if it's not cached), compiles, and creates artifacts in a local folder.

I've also stripped down the released artifacts to just the output binaries, as we currently include the whole build tree.

$ mkdir artifacts
$ act --job rcp-multi-pan-firmware-build -s GITHUB_TOKEN=ghp_tokentokentokentokentokentokentoken --artifact-server-path artifacts
...
$ gunzip -S .gz__ -r artifacts
$ find artifacts -type f
artifacts/1/rcp-uart-802154-yellow/rcp-uart-802154.out
artifacts/1/rcp-uart-802154-yellow/rcp-uart-802154.s37
artifacts/1/rcp-uart-802154-yellow/rcp-uart-802154.map
artifacts/1/rcp-uart-802154-yellow/rcp-uart-802154.hex
artifacts/1/rcp-uart-802154-yellow/rcp-uart-802154.bin
artifacts/1/rcp-uart-802154-yellow/rcp-uart-802154.gbl
artifacts/1/rcp-uart-802154-skyconnect/rcp-uart-802154.out
artifacts/1/rcp-uart-802154-skyconnect/rcp-uart-802154.s37
artifacts/1/rcp-uart-802154-skyconnect/rcp-uart-802154.map
artifacts/1/rcp-uart-802154-skyconnect/rcp-uart-802154.hex
artifacts/1/rcp-uart-802154-skyconnect/rcp-uart-802154.gbl
artifacts/1/rcp-uart-802154-skyconnect/rcp-uart-802154.bin