Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
5674b6795c
commit
e7cb032afb
12
.drone.yml
12
.drone.yml
@ -10,14 +10,16 @@ steps:
|
||||
path: /mnt/ci
|
||||
environment:
|
||||
PKG_CONFIG_SYSROOT_DIR: "/"
|
||||
CI_PREFIX: "/mnt/ci"
|
||||
commands:
|
||||
- set -e
|
||||
- apt update
|
||||
- apt install musl-tools pkg-config libssl-dev openssl build-essential musl-dev -y
|
||||
- rustup target add x86_64-unknown-linux-musl
|
||||
- cargo build --target=x86_64-unknown-linux-musl -p ci
|
||||
- mkdir -
|
||||
- mv target/x86_64-unknown-linux-musl/debug/ci "$CI_PREFIX/ci"
|
||||
#- apt install musl-tools pkg-config libssl-dev openssl build-essential musl-dev -y
|
||||
#- rustup target add x86_64-unknown-linux-musl
|
||||
#- cargo build --target=x86_64-unknown-linux-musl -p ci
|
||||
- cargo build -p
|
||||
#- mv target/x86_64-unknown-linux-musl/debug/ci "$CI_PREFIX/ci"
|
||||
- mv target/debug/ci $CI_PREFIX/ci
|
||||
|
||||
- name: load_secret
|
||||
image: debian:buster-slim
|
||||
|
Loading…
Reference in New Issue
Block a user