musl build for docker
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Joe Bellus 2022-07-28 21:13:33 -04:00
parent dbbe6074cb
commit 06eef6f368
1 changed files with 4 additions and 1 deletions

View File

@ -33,7 +33,10 @@ steps:
path: /app
commands:
- cp -R /app/dist ./dist
- cargo build --release
- rustup target add armv7-unknown-linux-gnueabihf
- apt update
- apt-get -y install gcc-arm-linux-gnueabihf
- cargo build --target armv7-unknown-linux-gnueabihf --release
- mkdir /app/build
- cp target/x86_64-unknown-linux-musl/release/vade /app/build/vade
# when: