From 832ba63ee267b96de7f6421315dbbb52eadbb80e Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Sun, 28 Mar 2021 19:44:50 -0600 Subject: add sketch of CI config --- .milli-ci/Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .milli-ci/Dockerfile (limited to '.milli-ci/Dockerfile') diff --git a/.milli-ci/Dockerfile b/.milli-ci/Dockerfile new file mode 100644 index 0000000..b85473a --- /dev/null +++ b/.milli-ci/Dockerfile @@ -0,0 +1,14 @@ +FROM rust:latest +RUN rustup component add clippy rustfmt +WORKDIR /usr/src/makers +COPY Cargo.* . +RUN mkdir src +RUN echo "fn main() {}" > src/main.rs +RUN cargo check +RUN cargo test +RUN cargo build +RUN rm src/main.rs +COPY . . +RUN touch src/main.rs +RUN chmod +x .milli-ci/test.sh +CMD [".milli-ci/test.sh"] -- cgit v1.2.3