Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
edmorley opened this issue Nov 9, 2023 · 0 comments

Comments

@edmorley
Copy link
Member

edmorley commented Nov 9, 2023

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:

  • test all of these against an alpine image, to confirm that musl works (we partly do this in CI at the moment, but the test buildpack doesn't use ring)
  • make sure the test includes C based Rust crates such as ring

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant