mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-08-03 12:16:24 -04:00
Add github action with basic CI that builds
Signed-off-by: Daniel Lublin <daniel@lublin.se>
This commit is contained in:
parent
b7d0698e1b
commit
9a6a790715
6 changed files with 152 additions and 5 deletions
|
@ -7,6 +7,7 @@ RUN apt-get -qq update -y \
|
|||
build-essential \
|
||||
ca-certificates \
|
||||
clang \
|
||||
clang-format \
|
||||
cmake \
|
||||
flex \
|
||||
gawk \
|
||||
|
@ -42,7 +43,7 @@ RUN apt-get -qq update -y \
|
|||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
FROM base as builder
|
||||
FROM base as toolsbuilder
|
||||
|
||||
RUN git clone --depth=1 https://github.com/YosysHQ/icestorm /src
|
||||
WORKDIR /src
|
||||
|
@ -85,4 +86,5 @@ RUN rm -rf /src
|
|||
|
||||
|
||||
FROM base
|
||||
COPY --from=builder /usr/local/ /usr/local
|
||||
LABEL org.opencontainers.image.description="Toolchain for building TKey FPGA bitstream, firmware, apps"
|
||||
COPY --from=toolsbuilder /usr/local/ /usr/local
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue