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
|
2022-08-10 00:23:16 +00:00
|
|
|
image: rust:1.62
|
2022-08-10 00:09:50 +00:00
|
|
|
volumes:
|
|
|
|
- name: dockersock
|
|
|
|
path: /var/run
|
|
|
|
commands:
|
2022-08-10 00:23:16 +00:00
|
|
|
- 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: {}
|