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

CI should test cross-compilation correctly #62

Open
ilammy opened this issue Jan 1, 2022 · 0 comments
Open

CI should test cross-compilation correctly #62

ilammy opened this issue Jan 1, 2022 · 0 comments

Comments

@ilammy
Copy link
Contributor

ilammy commented Jan 1, 2022

Right now GitHub Actions do not do what they should do. Instead of testing for specified targets, they build tests for the host OS and run them there. When proper targets are used, CI fails to compile the tests for various reasons.

  • Android targets need to get Rust code linked with Android linker from Android NDK, not system linker.
  • Non-native Linux targets need gcc/clang cross-compilers installed for BoringSSL to compile.
  • MinGW target for Windows needs either a cross-compiler on Linux, or some more work on Windows.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant