mirror of
https://github.com/boostorg/ublas.git
synced 2026-01-20 05:02:42 +00:00
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.
32 lines
845 B
YAML
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
|