The workflow shouldn’t be anything too intense, you build a library, compile to the right arch, and treat it like any C library.