diff --git a/.drone.yml b/.drone.yml index 91461e4..41ecf2c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b2f3e7b --- /dev/null +++ b/Dockerfile @@ -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