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

wip: fix ci build

parent 922501f0
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
PROJECT_ROOT=$(pwd)
export PROJECT_ROOT
set -e
# Quad
bash quad/ci-build.sh || exit 1
# Quad Libraries and Boot image
cd quad && make boot
#!/bin/bash
PROJECT_ROOT=$(pwd)
export PROJECT_ROOT
set -e
# Quad
bash quad/ci-test.sh || exit 1
cd quad && make && make test
......@@ -14,7 +14,7 @@ default:
$(MAKE) -C src/quad_app
zybo:
cd xsdk_workspace/modular_quad_pid && ./build.sh
cd xsdk_workspace/modular_quad_pid && bash build.sh
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 @@
set -e
Xvfb :1 -ac -screen 0 1024x768x8 &
VIRT_SCREEN=$!
export DISPLAY=:1
source /remote/Xilinx/2015.4/SDK/2015.4/settings64.sh
echo "Building modular_quad_pid"
......@@ -49,3 +53,5 @@ if [ ! -d ../.metadata ]; then
fi
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