be5db14160
* Run cargo fix * Optimize imports * compiles * cleanup * Use Secret to store mac-key Truncate payload properly * cleanup * Reorg imports * brwchk hand waving * Review feedback * whitespace * error chain is dead * Build parity-ethereum with SSE2, SSSE3 and AES enabled This enables the `aesni` crate for 50x faster AES crypto. * Correct rustflag setting * List all target triples because [target.'cfg(…)'] is broken * whitespace * Enable hardware aes for CI builds * Add note about synchronizing changes * Remove "Linker" printout * Build artefacts to check hardware aesni * Skip signing windows binaries * Build windows like before * address grumble
19 lines
720 B
Bash
Executable File
19 lines
720 B
Bash
Executable File
#!/bin/bash
|
|
# ARGUMENT $1 Rust flavor to run test with (stable/beta/nightly)
|
|
|
|
echo "________Running test-linux.sh________"
|
|
set -e # fail on any error
|
|
set -u # treat unset variables as error
|
|
|
|
FEATURES="json-tests,ci-skip-tests"
|
|
OPTIONS="--release"
|
|
#use nproc `linux only
|
|
THREADS=$(nproc)
|
|
|
|
rustup default $1
|
|
rustup show
|
|
|
|
echo "________Running Parity Full Test Suite________"
|
|
# Why are we using RUSTFLAGS? See https://github.com/paritytech/parity-ethereum/pull/10719
|
|
CARGO_INCREMENTAL=0 RUSTFLAGS="-C opt-level=3 -C overflow-checks=on -C debuginfo=2 -Ctarget-feature=+aes,+sse2,+ssse3" time cargo test $OPTIONS --features "$FEATURES" --locked --all --target $CARGO_TARGET --verbose --color=never -- --test-threads $THREADS
|