mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 01:30:46 +03:00
Pin clang-format to version 17 in CI (hopefully temporarily)
This commit is contained in:
parent
24762a6326
commit
5a19adee34
2 changed files with 5 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
Language: Cpp
|
Language: Cpp
|
||||||
Standard: c++17
|
Standard: c++20
|
||||||
AccessModifierOffset: -4
|
AccessModifierOffset: -4
|
||||||
AlignAfterOpenBracket: Align
|
AlignAfterOpenBracket: Align
|
||||||
AlignConsecutiveAssignments: true
|
AlignConsecutiveAssignments: true
|
||||||
|
@ -15,4 +15,4 @@ Cpp11BracedListStyle: true
|
||||||
PenaltyReturnTypeOnItsOwnLine: 0
|
PenaltyReturnTypeOnItsOwnLine: 0
|
||||||
---
|
---
|
||||||
BasedOnStyle: WebKit
|
BasedOnStyle: WebKit
|
||||||
Language: ObjC
|
Language: ObjC
|
||||||
|
|
|
@ -454,8 +454,9 @@ linting:
|
||||||
tags: [docker]
|
tags: [docker]
|
||||||
before_script:
|
before_script:
|
||||||
- apk update && apk add make git python3 py3-pip qt6-qtdeclarative-dev
|
- apk update && apk add make git python3 py3-pip qt6-qtdeclarative-dev
|
||||||
- apk add clang-extra-tools --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main
|
# clang18 seems to mess with the emit keyword when using the `->` operator
|
||||||
- export PATH="$PATH:/root/.local/bin"
|
- apk add clang17-extra-tools --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main
|
||||||
|
- export PATH="$PATH:/usr/lib/llvm17/bin/:/root/.local/bin"
|
||||||
- pip3 install --break-system-packages --user reuse
|
- pip3 install --break-system-packages --user reuse
|
||||||
script:
|
script:
|
||||||
- make lint
|
- make lint
|
||||||
|
|
Loading…
Reference in a new issue