mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 20:31:19 +00:00
Disable cargo build
This commit is contained in:
parent
5c851da36c
commit
d2307e682f
1 changed files with 8 additions and 9 deletions
17
.drone.yml
17
.drone.yml
|
@ -128,8 +128,6 @@ platform:
|
|||
steps:
|
||||
|
||||
- name: prepare repo
|
||||
# Not sure why, but rust ARM64 builds are failing on drone for rust:1.54 and later:
|
||||
# https://discourse.drone.io/t/arm-build-stalls-out-on-cloud-drone-io-ram-issue/9701
|
||||
image: rust:1.56-slim
|
||||
user: root
|
||||
commands:
|
||||
|
@ -152,14 +150,15 @@ steps:
|
|||
# - cargo test --workspace --no-fail-fast
|
||||
# - cargo build
|
||||
|
||||
# TODO temporarily disable arm tests
|
||||
# Using Debian here because there seems to be no official Alpine-based Rust docker image for ARM.
|
||||
- name: cargo build
|
||||
image: rust:1.56-slim
|
||||
commands:
|
||||
- apt-get update
|
||||
- apt-get -y install --no-install-recommends libssl-dev pkg-config libpq-dev
|
||||
- cargo build
|
||||
- mv target/debug/lemmy_server target/lemmy_server
|
||||
# - name: cargo build
|
||||
# image: rust:1.56-slim
|
||||
# commands:
|
||||
# - apt-get update
|
||||
# - apt-get -y install --no-install-recommends libssl-dev pkg-config libpq-dev
|
||||
# - cargo build
|
||||
# - mv target/debug/lemmy_server target/lemmy_server
|
||||
|
||||
# TODO temporarily disable arm tests
|
||||
# - name: run federation tests
|
||||
|
|
Loading…
Reference in a new issue