Commit 924e6a00 authored by Martin Jeřábek's avatar Martin Jeřábek

Merge branch 'driver-build' into 'master'

Driver build: export in artifacts

See merge request illeondr/CAN_FD_IP_Core!146
parents f0c1bbb9 8acc15dc
Pipeline #2053 failed with stages
in 24 minutes and 22 seconds
......@@ -34,6 +34,9 @@ build_linux_driver:
script:
- cd driver/linux
- "make -j`nproc` KDIR=/linux/build"
artifacts:
paths:
- driver/linux/ctucanfd.ko
test_ip_fast:
stage: test
......
......@@ -4,6 +4,9 @@
# Run docker with vunit and ghdl with current directory mounted in /build.
# It is ready to run tests via, for example, `make test_fast coverage`
#
# Can also be run directly with command to run:
# ./run-docker-test make test_fast
#
if [ -d /build ]; then
export PATH=/opt/ghdl/bin:$PATH
......@@ -11,8 +14,12 @@ if [ -d /build ]; then
export LANG=C.UTF-8
export PYTHONUNBUFFERED=1
cd /build/test
exec bash
if [ $# -gt 0 ]; then
exec "$@"
else
exec bash
fi
else
docker run -ti -v $PWD:/build mjerabek/ghdl:upstream-gcc /build/run-docker-test
docker run --rm -ti -v $PWD:/build mjerabek/ghdl:upstream-gcc /build/run-docker-test "$@"
fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment