From ed8c68817e00318eab79520c983b44733de7d329 Mon Sep 17 00:00:00 2001 From: Joe Bellus Date: Thu, 28 Jul 2022 21:31:30 -0400 Subject: [PATCH] Added build step for musl --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0677da4..55250d8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: