-
Notifications
You must be signed in to change notification settings - Fork 770
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] Move Verible lint action into CI workflow
Signed-off-by: James Wainwright <[email protected]>
- Loading branch information
Showing
2 changed files
with
31 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,3 +63,34 @@ jobs: | |
run: ./util/prep-bazel-airgapped-build.sh | ||
- name: Build in the airgapped environment | ||
run: ./ci/scripts/test-airgapped-build.sh | ||
|
||
verible-lint: | ||
name: Verible lint | ||
runs-on: ubuntu-20.04 | ||
needs: quick_lint | ||
env: | ||
verible_config: hw/lint/tools/veriblelint/lowrisc-styleguide.rules.verible_lint | ||
verible_version: v0.0-3430-g060bde0f | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Prepare Verible config | ||
run: | | ||
echo "Concatenating Verible waivers" | ||
find . -type f -name '*.vbl' -exec cat {} \; >> verible_waiver | ||
echo "::group::Verible config" | ||
cat "$verible_config" | ||
echo "::endgroup::" | ||
echo "::group::Verible waiver" | ||
cat "verible_waiver" | ||
echo "::endgroup::" | ||
- name: Run Verible linter action | ||
uses: chipsalliance/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
verible_version: ${{ env.verible_version }} | ||
reviewdog_reporter: 'github-pr-check' | ||
suggest_fixes: 'false' | ||
config_file: ${{ env.verible_config }} | ||
extra_args: "--waiver_files=verible_waiver" |
This file was deleted.
Oops, something went wrong.