Skip to content

Commit

Permalink
Add dependencies for getting code coverage info.
Browse files Browse the repository at this point in the history
  • Loading branch information
francis-starlab committed May 20, 2021
1 parent b41aef4 commit 048e096
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ RUN yum update -y && yum install -y \
\
# Dependiences for building Titanium libfortifs \
prelink \
# Needed for generating a html report which shows combined test coverage.
# Provides the genhtml command which may conflict with same-name commands in
# texlive. Should only be an issue if we start using texlive for docs.
lcov \
&& yum clean all && \
rm -rf /var/cache/yum/* /tmp/* /var/tmp/*

Expand All @@ -48,7 +52,9 @@ RUN curl https://sh.rustup.rs -sSf > rustup-install.sh && \
rm rustup-install.sh && \
\
# Install rustfmt / cargo fmt for testing
rustup component add rustfmt clippy
rustup component add rustfmt clippy && \
# Install grcov for code coverage
cargo install grcov

# Build and install qemu
RUN git clone --depth 1 --branch v5.1.0 git://git.qemu-project.org/qemu.git && \
Expand Down Expand Up @@ -84,3 +90,4 @@ ENV LANG=en_US.utf-8

ENTRYPOINT ["/usr/local/bin/startup_script"]
CMD ["/bin/bash", "-l"]

0 comments on commit 048e096

Please sign in to comment.