From: Dessalines Date: Fri, 19 Mar 2021 19:57:56 +0000 (-0400) Subject: Try to remove cargo home changing to fix release. X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/nerdica.net/static/README.ja.md?a=commitdiff_plain;h=ae635c752aaa0d11d3cb317c612180a835aa65f2;p=lemmy.git Try to remove cargo home changing to fix release. --- diff --git a/.drone.yml b/.drone.yml index 5c68e2cc..bb27984f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,13 +21,7 @@ steps: - name: cargo clippy image: ekidd/rust-musl-builder:1.50.0 - environment: - CARGO_HOME: /drone/src/.cargo commands: - - whoami - - ls -la ~/.cargo - - mv ~/.cargo . - - ls -la .cargo - cargo clippy --workspace --tests --all-targets --all-features -- -D warnings -D deprecated -D clippy::perf -D clippy::complexity -D clippy::dbg_macro - cargo clippy --workspace -- -D clippy::unwrap_used @@ -37,7 +31,6 @@ steps: LEMMY_DATABASE_URL: postgres://lemmy:password@database:5432/lemmy RUST_BACKTRACE: 1 RUST_TEST_THREADS: 1 - CARGO_HOME: /drone/src/.cargo commands: - sudo apt-get update - sudo apt-get -y install --no-install-recommends espeak postgresql-client @@ -45,8 +38,6 @@ steps: - name: cargo build image: ekidd/rust-musl-builder:1.50.0 - environment: - CARGO_HOME: /drone/src/.cargo commands: - cargo build - mv target/x86_64-unknown-linux-musl/debug/lemmy_server target/lemmy_server @@ -118,7 +109,6 @@ steps: LEMMY_DATABASE_URL: postgres://lemmy:password@database:5432/lemmy RUST_BACKTRACE: 1 RUST_TEST_THREADS: 1 - CARGO_HOME: /drone/src/.cargo commands: - apt-get update - apt-get -y install --no-install-recommends espeak postgresql-client libssl-dev pkg-config libpq-dev @@ -128,8 +118,6 @@ steps: # Using Debian here because there seems to be no official Alpine-based Rust docker image for ARM. - name: cargo build image: rust:1.50-slim-buster - environment: - CARGO_HOME: /drone/src/.cargo commands: - apt-get update - apt-get -y install --no-install-recommends libssl-dev pkg-config libpq-dev