Skip to content

Commit 2cd0860

Browse files
committed
Fix failing CI
1 parent c3e550a commit 2cd0860

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

.github/workflows/_runner-snitch-tiled-sequential.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
run: |
5555
export DEBIAN_FRONTEND=noninteractive
5656
apt-get update -y
57+
apt-get install -y jq
5758
- name: Cache ccache
5859
uses: actions/cache/restore@v4
5960
with:

.github/workflows/ci-lint.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,16 @@ jobs:
5151
- name: Format Python Imports
5252
shell: bash
5353
run: |
54-
isort --sg "**/third_party/*" --sg "install/*" --sg "toolchain/*" ./ -c -v
55-
autoflake -c -r --remove-all-unused-imports --ignore-init-module-imports --exclude "*/third_party/**" --exclude "*/install/**" --exclude "*/toolchain/**" ./
54+
isort --sg "**/third_party/*" --sg "install/*" --sg "toolchain/*" ./ -c
55+
autoflake --quiet -c -r --remove-all-unused-imports --ignore-init-module-imports --exclude "**/third_party/*,**/install/*,**/toolchain/*" .
5656
- name: Format C
5757
shell: bash
5858
run: |
59-
python scripts/run_clang_format.py -e "*/third_party/*" -e "*/install/*" -e "*/toolchain/*" -r --clang-format-executable=${LLVM_INSTALL_DIR}/bin/clang-format ./ scripts
59+
python scripts/run_clang_format.py -e "*/third_party/*" -e "*/install/*" -e "*/toolchain/*" -r --clang-format-executable=${LLVM_INSTALL_DIR}/bin/clang-format . scripts
6060
- name: Format YAML
6161
shell: bash
6262
run: |
63-
yamllint -c .yamllint.yml .
63+
yamllint .
6464
- name: Check Python Licenses
6565
shell: bash
6666
run: |
@@ -100,10 +100,9 @@ jobs:
100100
- name: Check CMake Licenses
101101
shell: bash
102102
run: |
103-
missing_cmake=$(grep -Lr "SPDX-License-Identifier: Apache-2.0" --include="*.cmake|" --include="CMakeLists.txt" \
103+
missing_cmake=$(grep -Lr "SPDX-License-Identifier: Apache-2.0" --include="*.cmake" --include="CMakeLists.txt" \
104104
--exclude-dir="toolchain" --exclude-dir="install" --exclude-dir=".git" \
105105
--exclude-dir="third_party" --exclude-dir="TEST_*" --exclude-dir="TestFiles" \
106106
--exclude-dir="runtime" . || true)
107107
if [[ -n "$missing_cmake" ]]; then
108108
echo "Missing SPDX in CMake files:"; echo "$missing_cmake"; exit 1; fi
109-

Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -567,14 +567,13 @@ chimera-sdk: ${CHIMERA_SDK_INSTALL_DIR}
567567

568568
format:
569569
@echo "Formatting all relevant files..."
570-
@echo " - Format C/C++ Files"
571-
@python scripts/run_clang_format.py -e "*/third_party/*" -e "*/install/*" -e "*/toolchain/*" --clang-format-executable=${LLVM_INSTALL_DIR}/bin/clang-format -ir ./ scripts
572-
@echo " - Format Python Imports"
573-
@autoflake -i -r --remove-all-unused-imports --ignore-init-module-imports --exclude "*/third_party/**" --exclude "*/install/**" --exclude "*/toolchain/**" ./
574570
@echo " - Format Python Files"
575571
@yapf -ipr -e "third_party/" -e "install/" -e "toolchain/" .
576-
@echo " - Sort Python Imports"
572+
@echo " - Format Python Imports"
577573
@isort --sg "**/third_party/*" --sg "install/*" --sg "toolchain/*" ./
574+
@autoflake -i -r --remove-all-unused-imports --ignore-init-module-imports --exclude "**/third_party/*,**/install/*,**/toolchain/*" .
575+
@echo " - Format C/C++ Files"
576+
@python scripts/run_clang_format.py -e "*/third_party/*" -e "*/install/*" -e "*/toolchain/*" --clang-format-executable=${LLVM_INSTALL_DIR}/bin/clang-format -ir ./ scripts
578577

579578

580579
check-licenses:

0 commit comments

Comments
 (0)