Skip to content

Added PerFrameTransferHelper for streaming and async readback. #140

Added PerFrameTransferHelper for streaming and async readback.

Added PerFrameTransferHelper for streaming and async readback. #140

Workflow file for this run

name: lint
on:
pull_request:
paths:
- '**.hpp'
- '**.cpp'
- '**.clang-format'
- '**.clang-tidy'
permissions:
contents: read
jobs:
check-format-and-tidy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Prepare Vulkan SDK
uses: humbletim/setup-vulkan-sdk@v1.2.1
with:
vulkan-query-version: 1.4.328.1
vulkan-components: Vulkan-Headers, Vulkan-Loader
vulkan-use-cache: true
- uses: jidicula/clang-format-action@v4.11.0
with:
clang-format-version: '17'
check-path: 'etna'
fallback-style: 'none'
- uses: ZedThree/clang-tidy-review@v0.21.0
id: review
with:
apt_packages: 'wget,libx11-dev'
build_dir: build
cmake_command: |
cmake -Bbuild -S. -DCMAKE_EXPORT_COMPILE_COMMANDS=on
clang_tidy_checks: '' # Use closest .clang-tidy config, not some weird default
split_workflow: true # So that comments work with fork PRs
# Upload review results as artifacts, a different workflow posts them
# as comments. This is required due to security stuff.
- uses: ZedThree/clang-tidy-review/upload@v0.21.0
id: upload-review
# If there are any comments, fail the check
- if: steps.review.outputs.total_comments > 0
run: exit 1