Skip to content

Commit

Permalink
Merge branch 'main' into examples2
Browse files Browse the repository at this point in the history
  • Loading branch information
jackl-xilinx authored Dec 5, 2023
2 parents 74ce95c + 2652c0e commit 4dd3f21
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/lintAndFormat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,14 @@ jobs:
git fetch origin main
# git clang-format returns an error if changes made?
git clang-format origin/main || true
git diff > clang-format.diff
cat clang-format.diff
- name: Upload clang-format
uses: actions/upload-artifact@v3
with:
path: clang-format.diff
name: format_diffs

- name: Check C/C++ format
uses: reviewdog/action-suggester@v1
Expand All @@ -221,6 +229,14 @@ jobs:
run: |
black --exclude python/compiler/aiecc/main.py . || true
# black -l 10000 python/compiler/aiecc/main.py || true
git diff > black-format.diff
cat black-format.diff
- name: Upload black-format
uses: actions/upload-artifact@v3
with:
path: black-format.diff
name: format_diffs

- name: Check Python format
if: success() || failure()
Expand Down

0 comments on commit 4dd3f21

Please sign in to comment.