mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-22 05:59:15 +01:00
docker setup
This commit is contained in:
parent
24f04ae916
commit
b284bb9f06
1
fw/tests/.gitignore
vendored
1
fw/tests/.gitignore
vendored
@ -1,2 +1 @@
|
|||||||
/build
|
/build
|
||||||
*.vcd
|
|
||||||
|
22
fw/tests/docker_run.sh
Executable file
22
fw/tests/docker_run.sh
Executable file
@ -0,0 +1,22 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
pushd $(dirname $0) > /dev/null
|
||||||
|
|
||||||
|
docker run \
|
||||||
|
-it \
|
||||||
|
--rm \
|
||||||
|
--user $(id -u):$(id -g) \
|
||||||
|
-v "$(pwd)":/work \
|
||||||
|
-v "$(pwd)/../rtl":/rtl \
|
||||||
|
-e CCACHE_DIR=/tmp/ccache \
|
||||||
|
--entrypoint /bin/bash \
|
||||||
|
verilator/verilator:latest \
|
||||||
|
-c "make -j"
|
||||||
|
|
||||||
|
BUILD_ERROR=$?
|
||||||
|
|
||||||
|
popd > /dev/null
|
||||||
|
|
||||||
|
if [ $BUILD_ERROR -ne 0 ]; then
|
||||||
|
exit -1
|
||||||
|
fi
|
2
fw/tests/traces/.gitignore
vendored
Normal file
2
fw/tests/traces/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*.vcd
|
||||||
|
*.gtkw
|
Loading…
Reference in New Issue
Block a user