Skip to content

Commit

Permalink
Merge pull request #2174 from maidsafe/evm-dev
Browse files Browse the repository at this point in the history
Evm dev
  • Loading branch information
joshuef authored Oct 10, 2024
2 parents d666619 + 8eb7df8 commit e6c49b4
Show file tree
Hide file tree
Showing 146 changed files with 7,902 additions and 7,319 deletions.
760 changes: 380 additions & 380 deletions .github/workflows/benchmark-prs.yml

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions .github/workflows/cross-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,26 @@ env:

jobs:

wasm:
if: "!startsWith(github.event.head_commit.message, 'chore(release):')"
name: Wasm builds
runs-on: ubuntu-latest
# wasm:
# if: "!startsWith(github.event.head_commit.message, 'chore(release):')"
# name: Wasm builds
# runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
# steps:
# - uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
# - name: Install Rust
# uses: dtolnay/rust-toolchain@stable
# - uses: Swatinem/rust-cache@v2

- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
# - name: Install wasm-pack
# run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

- name: Build client for wasm
# wasm pack doesnt support workspaces
# --dev to avoid a loong optimisation step
run: cd sn_client && wasm-pack build --dev
timeout-minutes: 30
# - name: Build client for wasm
# # wasm pack doesnt support workspaces
# # --dev to avoid a loong optimisation step
# run: cd sn_client && wasm-pack build --dev
# timeout-minutes: 30

websocket:
if: "!startsWith(github.event.head_commit.message, 'chore(release):')"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/generate-benchmark-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ jobs:
run: wget https://sn-node.s3.eu-west-2.amazonaws.com/the-test-data.zip

- name: Build node and client
run: cargo build --release --features local-discovery --bin safenode --bin safe
run: cargo build --release --features local --bin safenode --bin safe
timeout-minutes: 30

- name: Build faucet bin
run: cargo build --release --bin faucet --features local-discovery --features gifting
run: cargo build --release --bin faucet --features local --features gifting
timeout-minutes: 30

- name: Start a local network
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
# Criterion outputs the actual bench results to stderr "2>&1 tee output.txt" takes stderr,
# passes to tee which displays it in the terminal and writes to output.txt
run: |
cargo criterion --features=local-discovery --message-format=json 2>&1 -p sn_cli | tee -a output.txt
cargo criterion --features=local --message-format=json 2>&1 -p sn_cli | tee -a output.txt
cat output.txt | rg benchmark-complete | jq -s 'map({
name: (.id | split("/"))[-1],
unit: "MiB/s",
Expand Down
Loading

0 comments on commit e6c49b4

Please sign in to comment.