31 lines
501 B
YAML
31 lines
501 B
YAML
---
|
|
kind: pipeline
|
|
name: default
|
|
|
|
platfomr:
|
|
arch: amd64
|
|
|
|
steps:
|
|
- name: test
|
|
image: rust:1.62-alpine
|
|
volumes:
|
|
- name: dockersock
|
|
path: /var/run
|
|
commands:
|
|
- apk --no-cache add docker
|
|
- cargo install cross --git https://github.com/cross-rs/cross
|
|
- cross build --release --target aarch64-unknown-linux-gnu
|
|
- ls -lahR target/
|
|
|
|
services:
|
|
- name: docker
|
|
image: docker:dind
|
|
privileged: true
|
|
volumes:
|
|
- name: dockersock
|
|
path: /var/run
|
|
|
|
volumes:
|
|
- name: dockersock
|
|
temp: {}
|