git.delta.rocks / unique-network / refs/commits / 3a2595bf6423

difftreelog

fix CI make-bench

Konstantin Astakhov2023-01-29parent: #c92410f.patch.diff
in: master

2 files changed

modified.github/workflows/codestyle.ymldiffbeforeafterboth
--- a/.github/workflows/codestyle.yml
+++ b/.github/workflows/codestyle.yml
@@ -51,7 +51,7 @@
     steps:
       - uses: actions/checkout@v3
       - name: Install substrate dependencies
-        run: sudo apt-get install libssl-dev pkg-config libclang-dev clang protobuf-compiler
+        run: sudo apt install -y libssl-dev pkg-config libclang-dev clang protobuf-compiler
       - name: Install latest nightly
         uses: actions-rs/toolchain@v1
         with:
modified.github/workflows/make-bench.ymldiffbeforeafterboth
before · .github/workflows/make-bench.yml
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  bench:15    runs-on: [ XL ]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        2627      - name: Install substrate dependencies28        run: sudo apt-get install libssl-dev pkg-config libclang-dev clang protobuf-compiler2930      - name: Install actual toolchain31        uses: actions-rs/toolchain@v132        with:33            toolchain: ${{ env.RUST_TOOLCHAIN }}34            default: true35            target: wasm32-unknown-unknown3637      - name: Run cargo check38        uses: actions-rs/cargo@v139        with:40          command: check4142      # - name: Create new branch from develop43      #   run: |44      #     git config user.name "Unique"45      #     git config user.email github-actions@usetech.com46      #     git checkout -b ci/make-bench develop4748      - name: RUN benchmarking49        run: |50          time make bench-unique5152      - name: show git diff53        run: |54          git diff5556      # - name: Create PR57      #   run: |58      #     git config user.name "Unique"59      #     git config user.email github-actions@usetech.com60      #     git commit -a -m "commit benchmarking for on $(date)"6162      - name: Create Pull Request63        uses: peter-evans/create-pull-request@v4.2.364        with:65          base: develop66          branch: ci/make-bench67          commit-message: commit benchmarking68          committer: Unique <noreply@github.com>69          author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>70          signoff: false71          delete-branch: true72          title: 'CI Make BENCH'73          assignees: BuddyGlas74          reviewers: BuddyGlas