ci: use setup-cross-toolchain-action instead of cross #4568
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We are currently using
cross
, which does not work with the tokio test suite.setup-cross-toolchain-action is a GitHub Action to set up CI environment for cross-testing, including doctest, without dockers.
This allows our CI to run tests for various architectures.
This patch includes:
Run test and doctest for aarch64, arm, i686, powerpc64le, mipsel, mips64el, riscv64gc, s390x linux. (Previously, it was build only.)
Tested targets are based on architectures officially supported by debian,ubuntu,fedora
debian: https://wiki.debian.org/SupportedArchitectures (the following list doesn't include unofficially supported arch)
ubuntu: https://help.ubuntu.com/community/SupportedArchitectures
fedora: https://fedoraproject.org/wiki/Architectures
Build for android and aarch64 windows. (setup-cross-toolchain-action doesn't support testing of them)
Closes #3424
Closes #2985 (aarch64 windows)
Closes #4454 (mipsel linux meets this)