drone-test/.drone.yml

30 lines
464 B
YAML
Raw Normal View History

2022-08-10 00:09:50 +00:00
---
kind: pipeline
name: default
2022-08-10 00:18:24 +00:00
platfomr:
arch: amd64
2022-08-10 00:09:50 +00:00
steps:
- name: test
image: rust:1.62
2022-08-10 00:09:50 +00:00
volumes:
- name: dockersock
path: /var/run
commands:
- cargo install cross --git https://github.com/cross-rs/cross
- cross build --release --target aarch64-unknown-linux-gnu
- ls -lahR target/
2022-08-10 00:09:50 +00:00
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}