add --all-features to build

This commit is contained in:
DataHearth 2022-03-16 13:58:58 +01:00
parent d462d3be88
commit 3b0298be54
No known key found for this signature in database
GPG Key ID: E88FD356ACC5F3C4
1 changed files with 2 additions and 3 deletions

View File

@ -11,11 +11,10 @@ WORKDIR /clear-docker-images
build-linux:
COPY . .
RUN rustup target add x86_64-unknown-linux-gnu
RUN rustup target add x86_64-unknown-linux-musl
RUN cargo build --release --target x86_64-unknown-linux-gnu
RUN cargo build --release --target x86_64-unknown-linux-musl
RUN cargo build --release --all-features --target x86_64-unknown-linux-gnu
RUN cargo build --release --all-features --target x86_64-unknown-linux-musl
SAVE ARTIFACT target/x86_64-unknown-linux-gnu /x86_64-unknown-linux-gnu AS LOCAL target/x86_64-unknown-linux-gnu
SAVE ARTIFACT target/x86_64-unknown-linux-musl /x86_64-unknown-linux-musl AS LOCAL target/x86_64-unknown-linux-musl