git.delta.rocks / unique-network / refs/commits / 85e1e11309e8

difftreelog

source

.github/workflows/make-bench.yml1.9 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  # workflow_call:9  workflow_dispatch:1011jobs:12  bench:13    runs-on: [ XL ]14    steps:15      - name: Clean Workspace16        uses: AutoModality/action-clean@v1.1.01718      - uses: actions/checkout@v3.3.019        with:20          ref: develop 2122      - name: Read .env file23        uses: xom9ikk/dotenv@v2        2425      - name: Install actual toolchain26        uses: actions-rs/toolchain@v127        with:28            toolchain: ${{ env.RUST_TOOLCHAIN }}29            default: true30            target: wasm32-unknown-unknown3132      - name: Run cargo check33        uses: actions-rs/cargo@v134        with:35          command: check3637      # - name: Create new branch from develop38      #   run: |39      #     git config user.name "Unique"40      #     git config user.email github-actions@usetech.com41      #     git checkout -b ci/make-bench develop4243      - name: RUN benchmarking44        run: |45          time make bench-unique4647      - name: show git diff48        run: |49          git diff5051      # - name: Create PR52      #   run: |53      #     git config user.name "Unique"54      #     git config user.email github-actions@usetech.com55      #     git commit -a -m "commit benchmarking for on $(date)"5657      - name: Create Pull Request58        uses: peter-evans/create-pull-request@v4.2.359        with:60          base: develop61          branch: ci/make-bench62          commit-message: commit benchmarking63          committer: Unique <noreply@github.com>64          author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>65          signoff: false66          delete-branch: true67          title: 'CI Make BENCH'68          assignees: BuddyGlas69          reviewers: BuddyGlas