Test cross build
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
This commit is contained in:
Jacob Kiers 2022-08-10 02:23:16 +02:00
parent 92bf77406b
commit e579c47d4c
4 changed files with 16 additions and 3 deletions

View File

@ -7,13 +7,14 @@ platfomr:
steps:
- name: test
image: docker:dind
image: rust:1.62
volumes:
- name: dockersock
path: /var/run
commands:
- sleep 5 # give docker enough time to start
- docker ps -a
- cargo install cross --git https://github.com/cross-rs/cross
- cross build --release --target aarch64-unknown-linux-gnu
- ls -lahR target/
services:
- name: docker

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/target

8
Cargo.toml Normal file
View File

@ -0,0 +1,8 @@
[package]
name = "drone-test"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

3
src/main.rs Normal file
View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}