Skip to content

Commit

Permalink
[ot] .gitlab-ci.d: use --ci option for ot-format/tidy
Browse files Browse the repository at this point in the history
Signed-off-by: Loïc Lefort <[email protected]>
  • Loading branch information
loiclefort authored and rivos-eblot committed Mar 1, 2024
1 parent 862f772 commit a80390d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.d/opentitan/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ format:
- qemu_ot
stage: build
script:
- scripts/opentitan/ot-format.sh -i $(tr '\n' ' ' < .gitlab-ci.d/opentitan/$CLANG_FORMAT_CONF)
- scripts/opentitan/ot-format.sh --ci -i
- git status -s
- test $(git status -s | wc -l) -eq 0

Expand All @@ -72,4 +72,4 @@ tidy:
stage: build
needs: ["build-clang"]
script:
- scripts/opentitan/ot-tidy.sh -p build $(tr '\n' ' ' < .gitlab-ci.d/opentitan/$CLANG_TIDY_CONF)
- scripts/opentitan/ot-tidy.sh --ci -p build
10 changes: 0 additions & 10 deletions .gitlab-ci.d/opentitan/ot.clang_format

This file was deleted.

5 changes: 0 additions & 5 deletions .gitlab-ci.d/opentitan/ot.clang_tidy

This file was deleted.

2 changes: 0 additions & 2 deletions .gitlab-ci.d/opentitan/qemu-ot.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
variables:
BAREMETAL_REF: "240223-1"
QEMU_BUILD_OPTS: ""
CLANG_FORMAT_CONF: "ot.clang_format"
CLANG_TIDY_CONF: "ot.clang_tidy"

include:
- local: '/.gitlab-ci.d/opentitan/build.yml'
Expand Down

0 comments on commit a80390d

Please sign in to comment.