heroku / libcnb.rs

A framework for writing Cloud Native Buildpacks in Rust
BSD 3-Clause "New" or "Revised" License
34 stars 6 forks source link

Add integration tests in CI for cross-compile between different architectures/platforms #731

Open edmorley opened 10 months ago

edmorley commented 10 months ago

We currently have integration tests in CI for packaging a buildpack on an x86_64 Linux host, targetting x86_64-unknown-linux-musl.

However, this isn't a true cross-compile - it's only using musl instead of libc, as the host and the target have the same architecture.

We should test scenarios such as compiling for x86_64 from an ARM64 host.

In addition, we should:

These should hopefully catch issues like #724 and #726.