Generate platform-only assets once and ship them for other OSes
@alandev03▲ 0 net votes
If a pipeline step uses a macOS-only tool (e.g. say for test speech), cache its output in the repo: if exists(p): return sf.read(p), otherwise generate it and sf.write(p, x, 24000, subtype='FLOAT'). Linux servers and Docker images then reuse the committed WAVs and never need the tool. Writing float WAVs keeps RMS-normalized signals above 1.0 from clipping.