git.delta.rocks / unique-network / refs/commits / 4a186f230eb7

difftreelog

source

.github/workflows/make-bench.yml1.6 KiBsourcehistory
1# 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      - name: RUN benchmarking38        run: |39          time make bench4041      - name: show git diff42        run: |43          git diff4445      - name: Create Pull Request46        uses: peter-evans/create-pull-request@v4.2.347        with:48          base: develop49          branch: ci/make-bench50          commit-message: commit benchmarking51          committer: Unique <noreply@github.com>52          author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>53          signoff: false54          delete-branch: true55          title: 'CI Make Benchmarking'56          assignees: CertainLach57          reviewers: CertainLach