-
Notifications
You must be signed in to change notification settings - Fork 717
/
slow-lint.sh
executable file
·39 lines (28 loc) · 1.23 KB
/
slow-lint.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/bash
# Copyright lowRISC contributors (OpenTitan project).
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
# A wrapper that duplicates the code for the quick lint job in
# azure-pipelines.yml. The two should be kept in sync.
#
# This doesn't install dependencies, but should otherwise behave the
# same as what CI would do on a pull request.
set -e
echo -e "\n### Check tags on Bazel artifacts"
ci/scripts/check-bazel-tags.sh
echo -e "\n### Ensure bazel doesn't use 'git_repository's"
ci/scripts/check-bazel-banned-rules.sh
echo -e "\n### Render documentation"
ci/scripts/build-docs.sh
echo -e "\n### Ensure all generated files are clean and up-to-date"
ci/scripts/check-generated.sh
echo -e "\n### Use buiildifier to check Bazel coding style"
bazel test //quality:buildifier_check --test_output=streamed
echo "### Check vendored directories are up-to-date"
ci/scripts/check-vendoring.sh
echo -e "\n### Style-Lint RTL Verilog source files with Verible"
ci/scripts/verible-lint.sh rtl
echo -e "\n### Style-Lint DV Verilog source files with Verible"
ci/scripts/verible-lint.sh dv
echo -e "\n### Style-Lint FPV Verilog source files with Verible"
ci/scripts/verible-lint.sh fpv