2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-01-20 05:02:42 +00:00
Files
ublas/.github/workflows/code_format.yml
Cem Bassoy 231ba5f730 refactor(core): simplify and eliminate auxiliary tensor types (#115)
Auxiliary functions for extents and strides were using different
functions. Additionally, many tags were used to distinguish between
different tensor types. This patch simplifies interfaces of different
core functions and unifies functions that can process different types of
extent and stride types.
2021-09-09 11:34:14 +02:00

32 lines
845 B
YAML

# Copyright (c) 2020 Mohammad Ashar Khan
# Distributed under Boost Software License, Version 1.0
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
name: "Clang Code Format"
on:
push:
paths-ignore:
- '**.md'
- 'doc/**'
pull_request:
paths-ignore:
- '**.md'
- 'doc/**'
jobs:
format:
name: "Clang Code Formatting Check"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install Clang Format 10
run: |
sudo apt-get install -y clang-format-10
# - name: "Format Codes"
# run: clang-format-10 -i examples/tensor/*.cpp test/tensor/*.cpp include/boost/numeric/ublas/tensor/*.hpp include/boost/numeric/ublas/tensor/*/*.hpp
# - name: Check diff
# run: git diff --exit-code HEAD