1234name: make-bench567on:8 push:9 branches:10 - "feature/ci-make-bench"11 workflow_dispatch:1213jobs:14 make-bench:15 runs-on: [ bench ]16 steps:17 - name: Clean Workspace18 uses: AutoModality/action-clean@v1.1.01920 - uses: actions/checkout@v3.3.021 with:22 ref: develop 2324 - name: Read .env file25 uses: xom9ikk/dotenv@v2.1.1 2627 - name: Install substrate dependencies28 run: sudo apt install -y curl cmake make libssl-dev pkg-config libclang-dev clang protobuf-compiler2930 - name: Install actual toolchain31 uses: actions-rs/toolchain@v1.0.732 with:33 toolchain: ${{ env.RUST_TOOLCHAIN }}34 default: true35 target: wasm32-unknown-unknown3637 - uses: actions/setup-node@v338 with:39 node-version: 184041 - name: RUN benchmarking42 run: |43 time make bench4445 - name: Run node dev mode in background46 working-directory: ./47 run: |48 ./target/release/unique-collator --dev &4950 - name: RUN Calibrate51 working-directory: ./tests52 run: |53 yarn install54 yarn ts-node --esm src/calibrate.ts55 yarn ts-node --esm src/calibrateApply.ts56 57 - name: show git diff58 run: |59 git diff6061 - name: Create Pull Request62 uses: peter-evans/create-pull-request@v4.2.363 with:64 base: develop65 branch: ci/make-bench66 commit-message: commit benchmarking67 committer: Unique <noreply@github.com>68 author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>69 signoff: false70 delete-branch: true71 title: 'CI Make Benchmarking'72 assignees: CertainLach73 reviewers: CertainLach