tangramdotdev / packages

A collection of community maintained Tangram packages.
https://www.tangram.dev
MIT License
8 stars 2 forks source link

Automate testing package builds with the full range of supported SDK configurations #26

Closed deciduously closed 6 months ago

deciduously commented 7 months ago

Currently, the std.assert.pkg() utility can automatically verify certain properties about the outputs from packages, such as providing binaries that behave as expected or libraries we can successfully link to. However, this utility takes the prebuilt package as an input.

Augment this utility with a routine that attempts to build the package as well using every supported combination of toolchain options: native vs cross, GCC vs LLVM, bfd vs lld vs mold. This utility should aggregate any failures into a presentable report clearly noting which configuration failed, where, and how.

Blocked by #17.