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
|
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:
|
||||||
|
|
Loading…
Reference in New Issue