flake: check gateware timing

pull/1769/head
Sebastien Bourdeauducq 2021-10-18 11:09:10 +08:00
parent bb61f2dae6
commit df6aeb99f6
1 changed files with 3 additions and 1 deletions

View File

@ -260,7 +260,9 @@
export TARGET_AR=llvm-ar
${buildCommand}
'';
checkPhase = ''
doCheck = true;
checkPhase =
''
# Search for PCREs in the Vivado output to check for errors
check_log() {
grep -Pe "$1" artiq_${target}/${variant}/gateware/vivado.log && exit 1 || true