Skip to content

Commit

Permalink
🔥 ($CI) Annote bench (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenPocketGamer authored Nov 3, 2021
1 parent 9e9b36b commit b434578
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,26 +43,26 @@ jobs:
fields: repo,author,eventName,workflow,ref,commit
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_PULLREQUEST_WEBHOOK_URL }}
bench:
if: "!contains(github.event.commits[0].message, '[skip ci]')"
runs-on: [self-hosted, bench]
steps:
- name: Check to latest commit
uses: actions/checkout@v2
with:
submodules: recursive
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-09-12
components: rustfmt
target: wasm32-unknown-unknown
default: true
- name: Generate WeightInfo Files
run: make generate-all-weights
- name: Commit Automatically
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 🤖 ($WEIGHT) Generate weightInfo files automatically
# file_pattern: runtime/**/*.rs
# bench:
# if: "!contains(github.event.commits[0].message, '[skip ci]')"
# runs-on: [self-hosted, bench]
# steps:
# - name: Check to latest commit
# uses: actions/checkout@v2
# with:
# submodules: recursive
# - name: Install toolchain
# uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: nightly-2021-09-12
# components: rustfmt
# target: wasm32-unknown-unknown
# default: true
# - name: Generate WeightInfo Files
# run: make generate-all-weights
# - name: Commit Automatically
# uses: stefanzweifel/git-auto-commit-action@v4
# with:
# commit_message: 🤖 ($WEIGHT) Generate weightInfo files automatically
# # file_pattern: runtime/**/*.rs

0 comments on commit b434578

Please sign in to comment.