Skip to content
Snippets Groups Projects
Unverified Commit 5ce06ae1 authored by bgallois's avatar bgallois
Browse files

add autogenerated weights build test

parent bf1bef4b
No related branches found
No related tags found
1 merge request!312Upgrade polkadot v1.17.0
......@@ -94,9 +94,10 @@ run_benchmarks:
- when: manual
script:
- cargo build -Zgit=shallow-deps --release --features runtime-benchmarks
- target/release/duniter benchmark storage --chain=dev --mul=2 --state-version=1
- target/release/duniter benchmark overhead --chain=dev --wasm-execution=compiled --warmup=1 --repeat=100
- target/release/duniter benchmark pallet --chain=dev --steps=5 --repeat=2 --pallet="*" --extrinsic="*" --wasm-execution=compiled
- target/release/duniter benchmark storage --chain=dev --mul=2 --state-version=1 --weight-path=./runtime/gdev/src/weights/
- target/release/duniter benchmark overhead --chain=dev --wasm-execution=compiled --warmup=1 --repeat=100 --weight-path=./runtime/gdev/src/weights/
- target/release/duniter benchmark pallet --chain=dev --steps=5 --repeat=2 --pallet="*" --extrinsic="*" --wasm-execution=compiled --output=./runtime/gdev/src/weights/
- cargo build -Zgit=shallow-deps --release --features runtime-benchmarks # Check if autogenerated weights work
gtest_build:
stage: build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment