Pre-built image for CI
continuous-integration/drone/push Build is passing Details

This commit is contained in:
projectmoon 2024-03-21 18:22:53 +01:00
parent d83356f794
commit ccd0fde54a
2 changed files with 6 additions and 3 deletions

View File

@ -3,10 +3,8 @@ name: build-and-test
steps:
- name: test
image: rust:1.76-slim
image: git.agnos.is/projectmoon/gemfreely-build
commands:
- rustup component add rustfmt
- cargo install --locked cargo-deny
- cargo build
- cargo test --verbose
- cargo deny check licenses

5
Dockerfile Normal file
View File

@ -0,0 +1,5 @@
# This dockerfile is used for the CI pipeline, pre-installed build
# deps, so we don't spend time compiling them during every CI run.
FROM rust:1.76-slim
RUN rustup component add rustfmt
RUN cargo install --locked cargo-deny