mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 12:51:02 +00:00
support crypto primitives for no_std introducing full_crypto feature (#3778)
* introduced "with_crypto" feature and applied switches like in substrate-api-client fork * introduced "with_crypto" feature and applied switches like in substraTEE-worker fork * distinguishing core::hash vs std::hash * @bkchr's review requests fulfilled * fixes * revert dependency upgrade ed25519-dalek * added full_crypto features to all crates using app_crypto! macro * fixing CI complaints. * fix again * adding CI test for with_crypto feature * added full_crypto for ecdsa. now builds wit h--no-deafault-features --features with_crypto * remove --release from CI test * @bkchr requested changes. moved full_crypto CI test to build stage * fixing no_std issue * CI fresh copy from srml-staking * gitlab CI with +nightly * solved no-feature-in-macro dilemma * cosmetics * Update core/application-crypto/src/sr25519.rs Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Update core/application-crypto/src/ed25519.rs Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * even more simple * undo line delete * refactoring app_crypto macro. splitting functionalities based on full_crypto feature * whitespace cosmetics
This commit is contained in:
@@ -230,6 +230,26 @@ node-exits:
|
||||
script:
|
||||
- ./ci/check_for_exit.sh
|
||||
|
||||
|
||||
test-full-crypto-feature: &test-full-crypto-feature
|
||||
stage: test
|
||||
<<: *docker-env
|
||||
variables:
|
||||
# Enable debug assertions since we are running optimized builds for testing
|
||||
# but still want to have debug assertions.
|
||||
RUSTFLAGS: -Cdebug-assertions=y
|
||||
RUST_BACKTRACE: 1
|
||||
except:
|
||||
variables:
|
||||
- $DEPLOY_TAG
|
||||
script:
|
||||
- cd core/primitives/
|
||||
- time cargo +nightly build --verbose --no-default-features --features full_crypto
|
||||
- cd ../application-crypto
|
||||
- time cargo +nightly build --verbose --no-default-features --features full_crypto
|
||||
- sccache -s
|
||||
|
||||
|
||||
#### stage: build
|
||||
|
||||
build-linux-substrate:
|
||||
|
||||
Reference in New Issue
Block a user