blob: c5ff1792d6764c62f95e51cfaced8d603ba5d0a3 [file] [log] [blame]
Rupert Swarbrick2aff11b2021-02-16 17:11:37 +00001#!/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
12set -e
13
Drew Macrae932a70a2022-04-18 16:34:13 -040014echo -e "\n### Use buiildifier to check Bazel coding style"
15bazel run buildifier_check
16
Rupert Swarbrick2aff11b2021-02-16 17:11:37 +000017echo "### Check vendored directories are up-to-date"
18ci/scripts/check-vendoring.sh
Miles Daid10f3112022-05-10 10:48:17 -040019
20echo -e "\n### Style-Lint RTL Verilog source files with Verible"
21ci/scripts/verible-lint.sh rtl
22
23echo -e "\n### Style-Lint DV Verilog source files with Verible"
24ci/scripts/verible-lint.sh dv
25
26echo -e "\n### Style-Lint FPV Verilog source files with Verible"
27ci/scripts/verible-lint.sh fpv