ci: add K4N8 examples building to CI

Signed-off-by: Rafal Kolucki <rkolucki@antmicro.com>
This commit is contained in:
Rafal Kolucki 2022-12-02 17:28:50 +01:00
parent d87ad8e14a
commit adeea8ea2c
2 changed files with 18 additions and 0 deletions

View File

@ -91,6 +91,14 @@ case "$fpga_family" in
esac esac
done done
;; ;;
qlf_k4n8) for example in $examples; do
case $example in
"counter") tuttest_exec ${snippets} qlf_k4n8/btn_counter/README.rst:qlf_k4n8-counter ;;
*) echo "ERROR: Unknown example name: $example" >&2
exit 1 ;;
esac
done
;;
*) echo "ERROR: Unknown fpga_family: $fpga_family" >&2 *) echo "ERROR: Unknown fpga_family: $fpga_family" >&2
exit 1 exit 1
;; ;;

View File

@ -105,6 +105,16 @@ def get_jobs(
'surelog': "-parse -DSYNTHESIS" if usesSurelog else "" 'surelog': "-parse -DSYNTHESIS" if usesSurelog else ""
} for osver in osvers]) } for osver in osvers])
jobs.extend([{
'name': "Surelog" if usesSurelog else "Default",
'runs-on': runs_on,
'fpga-fam': "qlf_k4n8",
'os': osver[0],
'os-version': osver[1],
'example': "counter",
'surelog': "-parse -DSYNTHESIS" if usesSurelog else ""
} for osver in osvers])
return jobs return jobs
for distribution in ['debian', 'ubuntu', 'fedora', 'centos']: for distribution in ['debian', 'ubuntu', 'fedora', 'centos']: