diff --git a/.drone.yml b/.drone.yml index 64b9b9b..b988740 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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