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
commands:
- cp -R /app/dist ./dist
- 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
- rustup target add x86_64-unknown-linux-musl
- apt update && apt install -y musl-tools musl-dev
- update-ca-certificates
- cargo build --target x86_64-unknown-linux-musl --release
- mkdir /app/build
- cp target/x86_64-unknown-linux-musl/release/vade /app/build/vade
# when: