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

Added cross platform tests workflow #534

Merged
merged 8 commits into from
Apr 4, 2022
Merged

Added cross platform tests workflow #534

merged 8 commits into from
Apr 4, 2022

Conversation

VictorKoenders
Copy link
Contributor

@VictorKoenders VictorKoenders commented Apr 1, 2022

This PR uses cargo cross to cross compile a whole bunch of targets, and simply runs cargo test on those platforms.

I've added the following targets, based on this table, but removed all -musl targets as these should ™️ be the same as their -gnu counterparts.

  • aarch64-unknown-linux-gnu
  • arm-unknown-linux-gnueabi
  • arm-unknown-linux-gnueabihf
  • armv5te-unknown-linux-gnueabi
  • armv7-unknown-linux-gnueabihf
  • i586-unknown-linux-gnu
  • i686-pc-windows-gnu
  • i686-unknown-linux-gnu
  • mips-unknown-linux-gnu
  • mips64-unknown-linux-gnuabi64
  • mips64el-unknown-linux-gnuabi64
  • mipsel-unknown-linux-gnu
  • powerpc-unknown-linux-gnu
  • powerpc64-unknown-linux-gnu
  • powerpc64le-unknown-linux-gnu
  • riscv64gc-unknown-linux-gnu
  • sparc64-unknown-linux-gnu
  • x86_64-pc-windows-gnu
  • x86_64-unknown-linux-gnu

I've opened #535 as a tracking issue for the platforms that don't build

@codecov
Copy link

codecov bot commented Apr 1, 2022

Codecov Report

Merging #534 (bf73362) into trunk (3404fae) will decrease coverage by 0.07%.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##            trunk     #534      +/-   ##
==========================================
- Coverage   70.90%   70.82%   -0.08%     
==========================================
  Files          47       47              
  Lines        3210     3215       +5     
==========================================
+ Hits         2276     2277       +1     
- Misses        934      938       +4     
Impacted Files Coverage Δ
tests/alloc.rs 92.42% <33.33%> (-5.94%) ⬇️
src/enc/impls.rs 89.06% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3404fae...bf73362. Read the comment docs.

@VictorKoenders VictorKoenders merged commit 36ab23c into trunk Apr 4, 2022
@VictorKoenders VictorKoenders deleted the ci/32_bit branch April 4, 2022 12:09
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

Successfully merging this pull request may close these issues.

None yet

2 participants