feat: back to gnu
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-07-24 10:52:13 +02:00
parent 43780b28cb
commit 6b83d44777
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -35,20 +35,23 @@ steps:
from_secret: gitea_id_ed25519
commands:
- set -eu
- apt update && apt install -y libssl-dev pkg-config openssl musl-tools
- apt update && apt install -y libssl-dev pkg-config openssl # musl-tools
- eval `ssh-agent`
- mkdir -p ~/.ssh
- echo "$SSH_KEY" | base64 -d > ~/.ssh/id_ed25519
- chmod -R 600 ~/.ssh
- ssh-add
- echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io
- rustup target add x86_64-unknown-linux-musl
#- rustup target add x86_64-unknown-linux-musl
- cd ci || exit 1
- cargo build --target=x86_64-unknown-linux-musl
- cargo build
- cd - || exit 1
- sha1sum ci/target/x86_64-unknown-linux-musl/debug/ci
- ldd ci/target/x86_64-unknown-linux-musl/debug/ci
- "./ci/target/x86_64-unknown-linux-musl/debug/ci"
# - sha1sum ci/target/x86_64-unknown-linux-musl/debug/ci
# - ldd ci/target/x86_64-unknown-linux-musl/debug/ci
# - "./ci/target/x86_64-unknown-linux-musl/debug/ci"
- sha1sum ci/target/debug/ci
- ldd ci/target/debug/ci
- "./ci/target/debug/ci"
services:
- name: docker
image: docker:dind