Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
This commit is contained in:
parent
92bf77406b
commit
e579c47d4c
@ -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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/target
|
8
Cargo.toml
Normal file
8
Cargo.toml
Normal 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
3
src/main.rs
Normal file
@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
Loading…
Reference in New Issue
Block a user