Skip to content

Commit

Permalink
CI: Pin dependencies for MSRV build
Browse files Browse the repository at this point in the history
Pin three dependencies (direct and transient) that break MSRV:

- serde_json
- serde
- wasm-bindgen-test
  • Loading branch information
tcharding committed Jul 14, 2023
1 parent 31237ff commit 3896980
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contrib/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ if cargo --version | grep nightly; then
NIGHTLY=true
fi

# Pin dependencies as required if we are using MSRV toolchain.
if cargo --version | grep "1\.48"; then
cargo update -p wasm-bindgen-test --precise 0.3.34
cargo update -p serde --precise 1.0.156
fi

# Test if panic in C code aborts the process (either with a real panic or with SIGILL)
cargo test -- --ignored --exact 'tests::test_panic_raw_ctx_should_terminate_abnormally' 2>&1 | tee /dev/stderr | grep "SIGILL\\|panicked at '\[libsecp256k1\]"

Expand Down

0 comments on commit 3896980

Please sign in to comment.