Rupert Swarbrick | 2aff11b | 2021-02-16 17:11:37 +0000 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # Copyright lowRISC contributors. |
| 3 | # Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| 4 | # SPDX-License-Identifier: Apache-2.0 |
| 5 | |
| 6 | # A wrapper that duplicates the code for the quick lint job in |
| 7 | # azure-pipelines.yml. The two should be kept in sync. |
| 8 | # |
| 9 | # This doesn't install dependencies, but should otherwise behave the |
| 10 | # same as what CI would do on a pull request. |
| 11 | |
| 12 | set -e |
| 13 | |
Drew Macrae | 932a70a | 2022-04-18 16:34:13 -0400 | [diff] [blame] | 14 | echo -e "\n### Use buiildifier to check Bazel coding style" |
| 15 | bazel run buildifier_check |
| 16 | |
Rupert Swarbrick | 2aff11b | 2021-02-16 17:11:37 +0000 | [diff] [blame] | 17 | echo "### Check vendored directories are up-to-date" |
| 18 | ci/scripts/check-vendoring.sh |
Miles Dai | d10f311 | 2022-05-10 10:48:17 -0400 | [diff] [blame] | 19 | |
| 20 | echo -e "\n### Style-Lint RTL Verilog source files with Verible" |
| 21 | ci/scripts/verible-lint.sh rtl |
| 22 | |
| 23 | echo -e "\n### Style-Lint DV Verilog source files with Verible" |
| 24 | ci/scripts/verible-lint.sh dv |
| 25 | |
| 26 | echo -e "\n### Style-Lint FPV Verilog source files with Verible" |
| 27 | ci/scripts/verible-lint.sh fpv |