mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Fix typo & other problems (#12)
* Ignore external deps * Clang 16 * clang-format 16 * Fix linting action
This commit is contained in:
parent
0bda85fdc2
commit
098220217c
9 changed files with 201 additions and 153 deletions
5
.github/workflows/format.yml
vendored
5
.github/workflows/format.yml
vendored
|
|
@ -11,4 +11,7 @@ jobs:
|
|||
- name: Check out repo
|
||||
uses: actions/checkout@v3
|
||||
- name: Run clang-format
|
||||
uses: jidicula/clang-format-action@4.11.0
|
||||
uses: jidicula/clang-format-action@v4.11.0
|
||||
with:
|
||||
exclude-regex: (libspirv|3rdparty)
|
||||
clang-format-version: 16
|
||||
|
|
|
|||
10
.github/workflows/lint.yml
vendored
10
.github/workflows/lint.yml
vendored
|
|
@ -12,14 +12,10 @@ jobs:
|
|||
uses: ZedThree/clang-tidy-review@v0.13.1
|
||||
id: review
|
||||
with:
|
||||
clang_tidy_version: 15
|
||||
apt_packages: libunwind-dev, libglfw3-dev, libvulkan-dev, vulkan-validationlayers-dev, spirv-tools
|
||||
cmake_command: cmake . -DCMAKE_EXPORT_COMPILE_COMMANDS=on
|
||||
|
||||
# Uploads an artefact containing clang_fixes.json
|
||||
split_workflow: true
|
||||
- name: Upload review
|
||||
uses: ZedThree/clang-tidy-review/upload@v0.13.1
|
||||
id: upload-review
|
||||
|
||||
# If there are any comments, fail the check
|
||||
- if: steps.review.outputs.total_comments > 0
|
||||
run: exit 1
|
||||
id: upload-review
|
||||
13
.github/workflows/tidy-comments.yml
vendored
Normal file
13
.github/workflows/tidy-comments.yml
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
name: Post clang-tidy review comments
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Linting"]
|
||||
types:
|
||||
- completed
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: ZedThree/clang-tidy-review/post@v0.12.0
|
||||
with:
|
||||
lgtm_comment_body: "No linting issues found!"
|
||||
Loading…
Add table
Add a link
Reference in a new issue