Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into av/wasm-builder-cle…
Browse files Browse the repository at this point in the history
…an-env
  • Loading branch information
StackOverflowExcept1on committed Jan 10, 2024
2 parents 77f1f29 + 4cc2a23 commit 0f77875
Show file tree
Hide file tree
Showing 162 changed files with 10,901 additions and 11,921 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,14 @@ jobs:
- name: "Test: Runtime benchmarks and benchmark tests work"
run: |
cargo build -p gear-cli --release --features=runtime-benchmarks,runtime-benchmarks-checkers
# check that perf benchmarks works. `--steps=20` need to test, that benchmarks works for different input number.
./target/release/gear benchmark pallet --chain=dev --pallet=pallet_gear --steps=20 --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096
# check that perf benchmarks works. `--steps=5` need to test, that benchmarks works for different input number.
./target/release/gear benchmark pallet --chain=dev --pallet=pallet_gear --steps=5 --extrinsic="*" --heap-pages=4096
# check that read_big_state benchmarks works
./target/release/gear benchmark pallet --chain=dev --pallet=pallet_gear --extrinsic="read_big_state" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --extra
./target/release/gear benchmark pallet --chain=dev --pallet=pallet_gear --extrinsic="read_big_state" --heap-pages=4096 --extra
# check that signal_stack_limit_exceeded_works benchmarks works
./target/release/gear benchmark pallet --chain=dev --pallet=pallet_gear --extrinsic="signal_stack_limit_exceeded_works" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --extra
./target/release/gear benchmark pallet --chain=dev --pallet=pallet_gear --extrinsic="signal_stack_limit_exceeded_works" --heap-pages=4096 --extra
# check that check/test benchmarks works
./target/release/gear benchmark pallet --chain=dev --pallet=pallet_gear --extrinsic="check_all" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --extra
# check also lazy-pages benchmarks tests for native runtime
./target/release/gear benchmark pallet --chain=dev --pallet=pallet_gear --extrinsic="check_lazy_pages_all" --execution=native --heap-pages=4096 --extra
./target/release/gear benchmark pallet --chain=dev --pallet=pallet_gear --extrinsic="check_all" --heap-pages=4096 --extra
- name: "Test: Syscalls Wasmi integrity"
run: ./scripts/gear.sh test syscalls --release
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/test-measurements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ jobs:
--repeat=20
--chain=dev
--extrinsic=*
--execution=wasm
--wasm-execution=compiled
--heap-pages=4096
--output ./target/weights.json
--template ./.maintain/regression-analysis-weight-template.hbs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
tags: ${{ needs.tag-image.outputs.image_tag }}

- name: SSH into VM
uses: appleboy/ssh-action@v1.0.0
uses: appleboy/ssh-action@v1.0.3
env:
NEW_IMAGE: ${{ needs.tag-image.outputs.image_tag }}
with:
Expand Down
Loading

0 comments on commit 0f77875

Please sign in to comment.