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
|
path: /mnt/ci
|
||||||
environment:
|
environment:
|
||||||
PKG_CONFIG_SYSROOT_DIR: "/"
|
PKG_CONFIG_SYSROOT_DIR: "/"
|
||||||
|
CI_PREFIX: "/mnt/ci"
|
||||||
commands:
|
commands:
|
||||||
- set -e
|
- set -e
|
||||||
- apt update
|
- apt update
|
||||||
- apt install musl-tools pkg-config libssl-dev openssl build-essential musl-dev -y
|
#- apt install musl-tools pkg-config libssl-dev openssl build-essential musl-dev -y
|
||||||
- rustup target add x86_64-unknown-linux-musl
|
#- rustup target add x86_64-unknown-linux-musl
|
||||||
- cargo build --target=x86_64-unknown-linux-musl -p ci
|
#- cargo build --target=x86_64-unknown-linux-musl -p ci
|
||||||
- mkdir -
|
- cargo build -p
|
||||||
- mv target/x86_64-unknown-linux-musl/debug/ci "$CI_PREFIX/ci"
|
#- mv target/x86_64-unknown-linux-musl/debug/ci "$CI_PREFIX/ci"
|
||||||
|
- mv target/debug/ci $CI_PREFIX/ci
|
||||||
|
|
||||||
- name: load_secret
|
- name: load_secret
|
||||||
image: debian:buster-slim
|
image: debian:buster-slim
|
||||||
|
Loading…
Reference in New Issue
Block a user