Another try
Some checks failed
continuous-integration/drone/push Build is failing

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

View File

@ -7,12 +7,15 @@ platfomr:
steps: steps:
- name: test - name: test
image: rust:1.62-alpine image: rust:1.62
volumes: volumes:
- name: dockersock - name: dockersock
path: /var/run path: /var/run
commands: 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 - cargo install cross --git https://github.com/cross-rs/cross
- cross build --release --target aarch64-unknown-linux-gnu - cross build --release --target aarch64-unknown-linux-gnu
- ls -lahR target/ - ls -lahR target/