Commit 533d3739 authored by Martin Jeřábek's avatar Martin Jeřábek
Browse files

misc: run-docker-tests: restrict memory usage to 6G

parent 1798f3b0
...@@ -24,6 +24,9 @@ if [ -d /build ]; then ...@@ -24,6 +24,9 @@ if [ -d /build ]; then
else else
d="$(realpath "$(dirname "$0")")" d="$(realpath "$(dirname "$0")")"
#" #"
docker run --rm -ti -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v "$d:/build" --user $(id -u):$(id -g) registry.gitlab.com/canfd/server-tools/ghdl:gtkwave /build/run-docker-test "$@" docker run --rm -ti -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix \
-v "$d:/build" --user $(id -u):$(id -g) --memory 6G \
registry.gitlab.com/canfd/server-tools/ghdl:gtkwave \
/build/run-docker-test "$@"
fi 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