Added build step for musl
continuous-integration/drone/push Build is passing Details

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

View File

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