Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
54f5996
:bug: ($PALLET) Fix bancor bench error
AllenPocketGamer Oct 17, 2021
c80f020
:bug: ($PALLET) Fix vtoken-mint bench error
AllenPocketGamer Oct 17, 2021
05c8399
:wrench: ($PROJ) Add more phony
AllenPocketGamer Oct 18, 2021
5a3270f
:bug: ($PALLETS) Fix benchmark errors that occur by compile
AllenPocketGamer Oct 26, 2021
263b5b6
:sparkles: ($RUNTIME) Supple the benchmark settings that missing on B…
AllenPocketGamer Oct 26, 2021
db87289
:fire: ($RUNTIME) Unlist pallet_* benchmarks
AllenPocketGamer Oct 26, 2021
0378d4c
:recycle: ($SCRIPT) Refactor script that generates weightInfos
AllenPocketGamer Oct 27, 2021
c5c1c34
:fire: ($RUNTIME) Remove useless code
AllenPocketGamer Oct 27, 2021
7dc2fbc
:recycle: ($SCRIPT) Refactor ..
AllenPocketGamer Oct 27, 2021
bd74b6a
:construction_worker: ($CI) Try to generate all-runtime weight files
AllenPocketGamer Oct 27, 2021
de9782b
:art: ($RUNTIME) Format ..
AllenPocketGamer Oct 27, 2021
8f21138
:construction: ($CI) Close check & test temporarily
AllenPocketGamer Oct 27, 2021
de85f38
:construction: ($CI) Working around..
AllenPocketGamer Oct 27, 2021
8f668e5
:bug: ($SCRIPT) Fix Syntax error 2
AllenPocketGamer Oct 27, 2021
6aee672
:construction_worker: ($CI) Modify ci flow
AllenPocketGamer Oct 28, 2021
2a79887
:bug: ($CI) Fix ci syntax error
AllenPocketGamer Oct 28, 2021
0d0f84e
:bug: ($PALLET) Fix bench errors of lightening-redeem
AllenPocketGamer Oct 28, 2021
7cad829
:bug: ($CI) Remove file_pattern option
AllenPocketGamer Oct 28, 2021
c03f372
🤖 ($WEIGHT) Generate weightInfo files automatically
AllenPocketGamer Oct 28, 2021
1d4649b
Merge branch 'develop' into fix-bench-errs
ark930 Nov 2, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
👷 ($CI) Modify ci flow
  • Loading branch information
AllenPocketGamer committed Oct 28, 2021
commit 6aee672ae3b89fa4244fabc671cb446219585295
51 changes: 36 additions & 15 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
jobs:
build:
if: "!contains(github.event.commits[0].message, '[skip ci]')"
runs-on: self-hosted
runs-on: [self-hosted, normal]
steps:
- name: Check to latest commit
uses: actions/checkout@v2
Expand All @@ -30,18 +30,39 @@ jobs:
components: rustfmt
target: wasm32-unknown-unknown
default: true
# - name: Check All
# run: make check-all
# - name: Test All
# run: |
# make test-all
- name: Generate All WeightInfo Files
run: make generate-all-weights
# - name: Inform buddies online
# uses: 8398a7/action-slack@v3
# if: always() && (github.event_name == 'pull_request' && github.event.pull_request.draft == false)
# with:
# status: ${{ job.status }}
# fields: repo,author,eventName,workflow,ref,commit
- name: Check All
run: make check-all
- name: Test All
run: |
make test-all
- name: Inform buddies online
uses: 8398a7/action-slack@v3
if: always() && (github.event_name == 'pull_request' && github.event.pull_request.draft == false)
with:
status: ${{ job.status }}
fields: repo,author,eventName,workflow,ref,commit
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_PULLREQUEST_WEBHOOK_URL }}
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