generate images that support template compiling.

This commit is contained in:
Yindong Xiao
2023-04-16 00:48:40 +08:00
parent a4eb1e65ef
commit 9094b6ce2a
2 changed files with 53 additions and 0 deletions

10
.github/Dockerfile vendored Normal file
View File

@@ -0,0 +1,10 @@
FROM ghcr.io/readon/spinalhdl:master
ARG JAVA_EXTRA_OPTS="-Xmx2g -Xms2g"
ENV JAVA_OPTS="${JAVA_OPTS} ${JAVA_EXTRA_OPTS}"
RUN https://github.com/SpinalHDL/SpinalTemplateSbt.git && \
cd SpinalTemplateSbt && \
git submodule update --init --recursive && \
sbt compile && \
mill _.compile && \
cd .. && rm -rf SpinalTemplateSbt