Try full cross-platform build
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>master
parent
f3f4534538
commit
cc34bf6392
@ -0,0 +1,3 @@
|
||||
[profile.release]
|
||||
lto = "thin"
|
||||
strip = true
|
@ -1,42 +0,0 @@
|
||||
---
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
platfomr:
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: img.kie.rs/jjkiers/rust-dind-cross:1.62-slim
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run
|
||||
commands:
|
||||
- cargo check
|
||||
- while ! docker image ls; do sleep 1; done
|
||||
- cross build --release --target aarch64-unknown-linux-gnu
|
||||
- ls -lahR target/
|
||||
environment:
|
||||
CROSS_REMOTE: true
|
||||
# DOCKER_REGISTRY:
|
||||
# from_secret: docker-registry-url
|
||||
# DOCKER_USERNAME:
|
||||
# from_secret: docker-registry-username
|
||||
# DOCKER_PASSWORD:
|
||||
# from_secret: docker-registry-password
|
||||
|
||||
services:
|
||||
- name: docker
|
||||
image: docker:dind
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run
|
||||
|
||||
volumes:
|
||||
- name: dockersock
|
||||
temp: {}
|
||||
|
||||
|
||||
image_pull_secrets:
|
||||
- docker_private_repo
|
Loading…
Reference in New Issue