Skip to content

Update generate-coverage workflow to work with oneAPI 2025 #5004

Update generate-coverage workflow to work with oneAPI 2025

Update generate-coverage workflow to work with oneAPI 2025 #5004

# 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.1
- name: Run clang-format style check for C/C++ programs.
uses: jidicula/clang-format-action@v4.13.0
with:
clang-format-version: '18'
check-path: 'libsyclinterface'
- name: Run clang-format style check for api headers.
uses: jidicula/clang-format-action@v4.13.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.13.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.13.0
with:
clang-format-version: '18'
check-path: 'dpctl/tensor/libtensor/include'