Added compare options to samplers for shadow sampling. #135
This file contains hidden or 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
| 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 |