From 465ea2806cbf7178cc5554a31af620d54e7e4945 Mon Sep 17 00:00:00 2001 From: Philipp Wagner Date: Fri, 3 Jul 2020 13:10:40 +0100 Subject: [PATCH] Add lint for ibex_simple_system to CI --- azure-pipelines.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8c0fcf43..59448894 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -149,3 +149,20 @@ jobs: - small - experimental-maxperf-pmp - experimental-maxperf-pmp-bmfull + + # Run lint on simple system + - bash: | + fusesoc --cores-root . run --target=lint --tool=verilator lowrisc:ibex:ibex_simple_system + if [ $? != 0 ]; then + echo -n "##vso[task.logissue type=error]" + echo "Verilog lint with Verible failed. Run 'fusesoc --cores-root . run --target=lint --tool=verilator lowrisc:ibex:ibex_simple_system' to check and fix all errors." + fi + displayName: Run Verilator lint on simple system + + - bash: | + fusesoc --cores-root . run --target=lint --tool=veriblelint lowrisc:ibex:ibex_simple_system + if [ $? != 0 ]; then + echo -n "##vso[task.logissue type=error]" + echo "Verilog lint with Verible failed. Run 'fusesoc --cores-root . run --target=lint --tool=verilator lowrisc:ibex:ibex_simple_system' to check and fix all errors." + fi + displayName: Run Verible lint on simple system