Skip to content
Snippets Groups Projects
Commit 5e72fe92 authored by bbartels's avatar bbartels Committed by dawehr
Browse files

wip: fix ci build

parent 825e2713
No related branches found
No related tags found
1 merge request!9Abstract the hardware layer
#!/bin/bash #!/bin/bash
PROJECT_ROOT=$(pwd) set -e
export PROJECT_ROOT
# Quad # Quad Libraries and Boot image
bash quad/ci-build.sh || exit 1 cd quad && make boot
#!/bin/bash #!/bin/bash
PROJECT_ROOT=$(pwd) set -e
export PROJECT_ROOT
# Quad # Quad
bash quad/ci-test.sh || exit 1 cd quad && make && make test
...@@ -14,7 +14,7 @@ default: ...@@ -14,7 +14,7 @@ default:
$(MAKE) -C src/quad_app $(MAKE) -C src/quad_app
zybo: zybo:
cd xsdk_workspace/modular_quad_pid && ./build.sh cd xsdk_workspace/modular_quad_pid && bash build.sh
boot: $(BOOT) boot: $(BOOT)
......
#!/bin/bash
QUAD_ROOT=$PROJECT_ROOT/quad
export QUAD_ROOT
# Build Quad code
cd $QUAD_ROOT/sw/modular_quad_pid/
bash build.sh || exit 1
#!/bin/bash
QUAD_ROOT=$PROJECT_ROOT/quad
export QUAD_ROOT
# Build Test Library
cd $QUAD_ROOT/lib/test
make || exit 1
# Test UART buffer
cd $QUAD_ROOT/sw/modular_quad_pid/test
make || exit 1
./test_uart_buff || exit 1
cd $QUAD_ROOT/computation_graph/test
make || exit 1
./test_computation_graph || exit 1
...@@ -2,6 +2,10 @@ ...@@ -2,6 +2,10 @@
set -e set -e
Xvfb :1 -ac -screen 0 1024x768x8 &
VIRT_SCREEN=$!
export DISPLAY=:1
source /remote/Xilinx/2015.4/SDK/2015.4/settings64.sh source /remote/Xilinx/2015.4/SDK/2015.4/settings64.sh
echo "Building modular_quad_pid" echo "Building modular_quad_pid"
...@@ -49,3 +53,5 @@ if [ ! -d ../.metadata ]; then ...@@ -49,3 +53,5 @@ if [ ! -d ../.metadata ]; then
fi fi
xsct .build_app.tcl xsct .build_app.tcl
kill $VIRT_SCREEN
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment