difftreelog
CI. add running in dev mode for bench host
in: master
1 file changed
.github/workflows/make-bench.ymldiffbeforeafterboth1# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586837012/Code+style+testing2# Nested workflow for checks related to formatting Rust code 34name: make-bench56# Triger: only call from main workflow(re-usable workflows)7on: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: 164041 - name: RUN benchmarking42 run: |43 time make bench4445 - name: RUN Calibrate46 working-directory: ./tests47 run: |48 yarn install49 yarn ts-node src/calibrate.ts50 yarn ts-node src/calibrateApply.ts51 52 - name: show git diff53 run: |54 git diff5556 - name: Create Pull Request57 uses: peter-evans/create-pull-request@v4.2.358 with:59 base: develop60 branch: ci/make-bench61 commit-message: commit benchmarking62 committer: Unique <noreply@github.com>63 author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>64 signoff: false65 delete-branch: true66 title: 'CI Make Benchmarking'67 assignees: CertainLach68 reviewers: CertainLach