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

Adapt tests to work for wasm32-wasi and add wasm32-wasi to CI. #1745

Merged
merged 4 commits into from
Oct 14, 2023

Conversation

briansmith
Copy link
Owner

This is based on PR #1568. See the commit message of the first commit for details. Basically I squashed all the commits together from @JanKaul's PR, removed the changes to build.rs, and the GitHub Actions configuration, and rebased onto main.

For the CI integration, ring-toolchain was updated to include wasmtime for x86-64 Linux. That is used to install wasmtime in CI.

[The files changed in this commit were part of the original PR. The
original PR also changed other files, but those changes were removed.]
@codecov
Copy link

codecov bot commented Oct 14, 2023

Codecov Report

Merging #1745 (b314eb4) into main (0f8386d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1745   +/-   ##
=======================================
  Coverage   96.10%   96.10%           
=======================================
  Files         137      137           
  Lines       20548    20548           
  Branches      217      217           
=======================================
  Hits        19747    19747           
  Misses        762      762           
  Partials       39       39           
Files Coverage Δ
src/rand.rs 100.00% <ø> (ø)
tests/aead_tests.rs 98.70% <ø> (ø)
tests/constant_time_tests.rs 100.00% <ø> (ø)
tests/digest_tests.rs 100.00% <ø> (ø)
tests/ed25519_tests.rs 99.35% <ø> (ø)
tests/hkdf_tests.rs 97.10% <ø> (ø)
tests/hmac_tests.rs 96.96% <ø> (ø)
tests/pbkdf2_tests.rs 88.57% <ø> (ø)
tests/rand_tests.rs 100.00% <ø> (ø)
tests/rsa_tests.rs 96.92% <ø> (ø)
... and 1 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@briansmith briansmith merged commit 1c476cd into main Oct 14, 2023
138 checks passed
@briansmith briansmith deleted the b/wasm32-wasi branch October 14, 2023 23:50
@briansmith briansmith linked an issue Oct 14, 2023 that may be closed by this pull request
@briansmith briansmith added this to the 0.17.4 milestone Oct 14, 2023
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.

CI: Add cargo-semver-checks job
2 participants