30 lines
464 B
YAML
30 lines
464 B
YAML
---
|
|
kind: pipeline
|
|
name: default
|
|
|
|
platfomr:
|
|
arch: amd64
|
|
|
|
steps:
|
|
- name: test
|
|
image: rust:1.62
|
|
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/
|
|
|
|
services:
|
|
- name: docker
|
|
image: docker:dind
|
|
privileged: true
|
|
volumes:
|
|
- name: dockersock
|
|
path: /var/run
|
|
|
|
volumes:
|
|
- name: dockersock
|
|
temp: {}
|