ring icon indicating copy to clipboard operation
ring copied to clipboard

CI: Run `cargo package` for all supported targets before publishing

Open briansmith opened this issue 8 months ago • 0 comments

cargo package by default builds the package for the default target, and this is what the current package job in CI does. However, this doesn't work well for us as we have many target-specific files, especially target-specific C and assembly/PerlAsm files.

Instead, we should recognize that a commit that is supposed to be the last one prior to a release, and run cargo package for every target for these commits, in addition to the normal test matrix, to ensure that the crate builds for all supported targets before publishing.

briansmith avatar Jan 03 '24 06:01 briansmith