[MAINT] Use std::size_t
from cstddef
and use dpctl::tensor::ssize_t
where ssize_t
is used
#5259
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a workflow to format C/C++ sources with clang-format | |
name: C++ Code Style | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the master branch | |
on: | |
pull_request: | |
push: | |
branches: [master] | |
permissions: read-all | |
jobs: | |
formatting-check: | |
name: clang-format | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
- name: Run clang-format style check for C/C++ programs. | |
uses: jidicula/clang-format-action@v4.14.0 | |
with: | |
clang-format-version: '18' | |
check-path: 'libsyclinterface' | |
- name: Run clang-format style check for api headers. | |
uses: jidicula/clang-format-action@v4.14.0 | |
with: | |
clang-format-version: '18' | |
check-path: 'dpctl/apis' | |
- name: Run clang-format style check for libtensor/source. | |
uses: jidicula/clang-format-action@v4.14.0 | |
with: | |
clang-format-version: '18' | |
check-path: 'dpctl/tensor/libtensor/source' | |
- name: Run clang-format style check for libtensor/include. | |
uses: jidicula/clang-format-action@v4.14.0 | |
with: | |
clang-format-version: '18' | |
check-path: 'dpctl/tensor/libtensor/include' |