anp / moxie

lightweight platform-agnostic tools for declarative UI
https://moxie.rs
Apache License 2.0
828 stars 27 forks source link

Run twiggy in CI for wasm example targets #235

Open anp opened 3 years ago

anp commented 3 years ago

Some options for progressively fancier setup:

  1. just run twiggy top/twigger monos so the CI logs have the output
  2. download the main branch's equivalent binary and run twiggy diff
  3. use --format json -o $SOMEFILE and upload the file as an artifact
  4. use the JSON output as an input to a test that asserts some basic properties of code size for crates in this repo (e.g. "each topo::call produces <=N bytes of optimized output")

Ideally we can find out about the next instance of https://github.com/anp/moxie/issues/234 as it's happening, rather than much later :D.