Added build step for musl
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
06eef6f368
commit
ed8c68817e
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue