Skip to content

Commit

Permalink
Fix CI?
Browse files Browse the repository at this point in the history
  • Loading branch information
lidavidm committed Jun 25, 2024
1 parent 682e408 commit 742409a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ repos:
- id: trailing-whitespace
exclude: "^r/.*?/_snaps/.*?.md$"
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: "v18.1.5"
rev: "v18.1.7"
hooks:
- id: clang-format
types_or: [c, c++]
Expand Down
4 changes: 2 additions & 2 deletions ci/conda_env_cpp_lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
# specific language governing permissions and limitations
# under the License.

clang=14.*
clang-tools=14.*
clang=18.*
clang-tools=18.*
3 changes: 2 additions & 1 deletion ci/scripts/cpp_clang_tidy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,12 @@ build_subproject() {

run-clang-tidy \
-extra-arg=-Wno-unknown-warning-option \
-extra-arg=-Wno-unused-command-line-argument \
-j $(nproc) \
-p "${build_dir}" \
-fix \
-quiet \
$(jq -r ".[] | .file" "${build_dir}/compile_commands.json")
$(jq -r ".[] | .file | select(contains(\"c/vendor\") | not)" "${build_dir}/compile_commands.json")

set +x
popd
Expand Down

0 comments on commit 742409a

Please sign in to comment.