CI: group snippets for tuttest
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
This commit is contained in:
parent
4b4eba12f6
commit
557137a5a1
|
@ -53,25 +53,21 @@ elif [ "$fpga_family" == "eos-s3" -a -z "$examples" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# activate conda and enter example dir
|
# activate conda and enter example dir
|
||||||
tuttest_exec docs/building-examples.rst export-install-dir
|
|
||||||
tuttest_exec docs/building-examples.rst fpga-fam-$fpga_family
|
snippets="export-install-dir,fpga-fam-$fpga_family,conda-prep-env,conda-act-env,enter-dir-$fpga_family"
|
||||||
tuttest_exec docs/building-examples.rst conda-prep-env
|
|
||||||
tuttest_exec docs/building-examples.rst conda-act-env
|
|
||||||
tuttest_exec docs/building-examples.rst enter-dir-$fpga_family
|
|
||||||
|
|
||||||
# Xilinx 7-Series examples
|
# Xilinx 7-Series examples
|
||||||
if [ "$fpga_family" = "xc7" ]; then
|
if [ "$fpga_family" = "xc7" ]; then
|
||||||
for example in $examples; do
|
for example in $examples; do
|
||||||
case $example in
|
case $example in
|
||||||
"counter")
|
"counter")
|
||||||
tuttest_exec xc7/counter_test/README.rst example-counter-*-group
|
snippets="${snippets},example-counter-*-group"
|
||||||
;;
|
;;
|
||||||
"picosoc")
|
"picosoc")
|
||||||
tuttest_exec xc7/picosoc_demo/README.rst example-picosoc-*-group
|
snippets="${snippets},xc7/picosoc_demo/README.rst,example-picosoc-*-group"
|
||||||
;;
|
;;
|
||||||
"litex_linux")
|
"litex_linux")
|
||||||
tuttest_exec xc7/linux_litex_demo/README.rst example-litex-deps
|
snippets="${snippets},xc7/linux_litex_demo/README.rst,example-litex-deps,example-litex-*-group"
|
||||||
tuttest_exec xc7/linux_litex_demo/README.rst example-litex-*-group
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "ERROR: Unknown example name: $example"
|
echo "ERROR: Unknown example name: $example"
|
||||||
|
@ -84,7 +80,7 @@ elif [ "$fpga_family" = "eos-s3" ]; then
|
||||||
for example in $examples; do
|
for example in $examples; do
|
||||||
case $example in
|
case $example in
|
||||||
"counter")
|
"counter")
|
||||||
tuttest eos-s3/btn_counter/README.rst eos-s3-counter
|
snippets="${snippets},eos-s3-counter"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "ERROR: Unknown example name: $example"
|
echo "ERROR: Unknown example name: $example"
|
||||||
|
@ -94,4 +90,8 @@ elif [ "$fpga_family" = "eos-s3" ]; then
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
echo "ERROR: Unknown fpga_family: $fpga_family"
|
echo "ERROR: Unknown fpga_family: $fpga_family"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# call tuttest
|
||||||
|
tuttest_exec docs/building-examples.rst ${snippets}
|
||||||
|
|
|
@ -45,9 +45,4 @@ fi
|
||||||
fpga_family=$1
|
fpga_family=$1
|
||||||
os=$2
|
os=$2
|
||||||
|
|
||||||
tuttest_exec docs/getting-symbiflow.rst install-reqs-$os
|
tuttest_exec docs/getting-symbiflow.rst install-reqs-$os,wget-conda,conda-install-dir,fpga-fam-$fpga_family,conda-setup,download-arch-def-$fpga_family
|
||||||
tuttest_exec docs/getting-symbiflow.rst wget-conda
|
|
||||||
tuttest_exec docs/getting-symbiflow.rst conda-install-dir
|
|
||||||
tuttest_exec docs/getting-symbiflow.rst fpga-fam-$fpga_family
|
|
||||||
tuttest_exec docs/getting-symbiflow.rst conda-setup
|
|
||||||
tuttest_exec docs/getting-symbiflow.rst download-arch-def-$fpga_family
|
|
||||||
|
|
Loading…
Reference in New Issue