mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-23 04:41: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:
|
steps:
|
||||||
|
|
||||||
- name: prepare repo
|
- 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
|
image: rust:1.56-slim
|
||||||
user: root
|
user: root
|
||||||
commands:
|
commands:
|
||||||
|
@ -152,14 +150,15 @@ steps:
|
||||||
# - cargo test --workspace --no-fail-fast
|
# - cargo test --workspace --no-fail-fast
|
||||||
# - cargo build
|
# - cargo build
|
||||||
|
|
||||||
|
# TODO temporarily disable arm tests
|
||||||
# Using Debian here because there seems to be no official Alpine-based Rust docker image for ARM.
|
# Using Debian here because there seems to be no official Alpine-based Rust docker image for ARM.
|
||||||
- name: cargo build
|
# - name: cargo build
|
||||||
image: rust:1.56-slim
|
# image: rust:1.56-slim
|
||||||
commands:
|
# commands:
|
||||||
- apt-get update
|
# - apt-get update
|
||||||
- apt-get -y install --no-install-recommends libssl-dev pkg-config libpq-dev
|
# - apt-get -y install --no-install-recommends libssl-dev pkg-config libpq-dev
|
||||||
- cargo build
|
# - cargo build
|
||||||
- mv target/debug/lemmy_server target/lemmy_server
|
# - mv target/debug/lemmy_server target/lemmy_server
|
||||||
|
|
||||||
# TODO temporarily disable arm tests
|
# TODO temporarily disable arm tests
|
||||||
# - name: run federation tests
|
# - name: run federation tests
|
||||||
|
|
Loading…
Reference in a new issue