Skip to content

Commit

Permalink
Fix benchmark (#1253)
Browse files Browse the repository at this point in the history
* [no ci]Fix benchmark

Signed-off-by: Dengjianping <djptux@gmail.com>

* [no ci]Fix init

Signed-off-by: Dengjianping <djptux@gmail.com>

* 🔧 use `runtime-large` for `run_all_benchmarks`

Signed-off-by: Anathan (Ana) Ye <anaye@duck.com>

* [no ci]Install some add-ons for npm

Signed-off-by: Dengjianping <djptux@gmail.com>

* [no ci]Do not use deprecated nodejs

Signed-off-by: Dengjianping <djptux@gmail.com>

* Remove verbose param

Signed-off-by: Dengjianping <djptux@gmail.com>

---------

Signed-off-by: Dengjianping <djptux@gmail.com>
Signed-off-by: Anathan (Ana) Ye <anaye@duck.com>
Co-authored-by: Dengjianping <djptux@gmail.com>
  • Loading branch information
anaye1997 and Dengjianping authored Sep 9, 2023
1 parent ceb9d59 commit eb48ca1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/run_all_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
jobs:
run-benchmarks:
timeout-minutes: 720
runs-on: runtime-integration-test
runs-on: runtime-large
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- name: init
run: |
sudo apt update
sudo apt install -y pkg-config libssl-dev protobuf-compiler
sudo apt install -y pkg-config libssl-dev protobuf-compiler build-essential clang curl llvm libudev-dev libclang-dev
protoc --version
curl -s https://sh.rustup.rs -sSf | sh -s -- -y
source ${HOME}/.cargo/env
Expand All @@ -61,7 +61,7 @@ jobs:
uses: Swatinem/rust-cache@v2
- name: init nodejs && yarn
run: |
curl -s https://deb.nodesource.com/setup_16.x | sudo bash
curl -s https://deb.nodesource.com/setup_18.x | sudo bash
sudo apt install nodejs -y
node -v
sudo npm install --global yarn
Expand All @@ -75,7 +75,7 @@ jobs:
CARGO_TERM_COLOR: always
run: |
source ${HOME}/.cargo/env
RUSTC_BOOTSTRAP=1 cargo build --profile production --features runtime-benchmarks --verbose --timings
RUSTC_BOOTSTRAP=1 cargo build --profile production --features runtime-benchmarks --timings
- name: create-chainspec
run: |
${{ github.workspace }}/target/production/manta build-spec --chain $CHAIN_SPEC --disable-default-bootnode --raw > ${{ github.workspace }}/tests/data/fork.json
Expand Down

0 comments on commit eb48ca1

Please sign in to comment.