Another try
continuous-integration/drone/push Build is failing Details

Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
This commit is contained in:
Jacob Kiers 2022-08-10 02:46:19 +02:00
parent 6c09793fdd
commit 0efce251f8
1 changed files with 5 additions and 2 deletions

View File

@ -7,12 +7,15 @@ platfomr:
steps:
- name: test
image: rust:1.62-alpine
image: rust:1.62
volumes:
- name: dockersock
path: /var/run
commands:
- apk --no-cache add docker
- apt-get update && apt-get install -y ca-certificates curl gnupg lsb-release
- mkdir -p /etc/apt/keyrings && curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
- echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" >> /etc/apt/sources.list.d/docker.list
- apt-get update && apt-get install -y docker-ce-cli
- cargo install cross --git https://github.com/cross-rs/cross
- cross build --release --target aarch64-unknown-linux-gnu
- ls -lahR target/