Skip to content

Add vector-times-matrix-transposed benchmark (V2) #67

Add vector-times-matrix-transposed benchmark (V2)

Add vector-times-matrix-transposed benchmark (V2) #67

Workflow file for this run

name: Lint
on: [pull_request]
jobs:
clang-format:
runs-on: ubuntu-22.04
env:
BASE_REF: ${{ github.base_ref }}
steps:
- name: Installing dependencies
run: |
sudo apt-get update -qq
sudo DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends clang-format-14
wget https://raw.githubusercontent.com/llvm/llvm-project/main/clang/tools/clang-format/git-clang-format -O /tmp/git-clang-format
chmod +x /tmp/git-clang-format
- name: Checking out repository
uses: actions/checkout@v2
- name: Fetching Base Branch
# We have to explicitly fetch the base branch as well
run: git fetch --no-tags --prune --depth=1 origin "${BASE_REF?}:${BASE_REF?}"
- name: Running clang-format on changed source files
run: |
/tmp/git-clang-format "${BASE_REF?}" --binary=clang-format-14 --style=file
git diff --exit-code