Signed-off-by: Jochen Maes <jochen@sejo-it.be>
This commit is contained in:
parent
862751535f
commit
3b18b3aae7
@ -25,7 +25,7 @@ steps:
|
||||
- rustup target add x86_64-unknown-linux-musl
|
||||
- rustup target add aarch64-unknown-linux-musl
|
||||
- cargo build --target x86_64-unknown-linux-musl --bins -r --config 'package.version="${DRONE_TAG##v}"'
|
||||
- RUSTC_LINKER=/usr/bin/aarch64-none-elf-gcc cargo build --target aarch64-unknown-linux-musl --bins -r --config 'package.version="${DRONE_TAG##v}"'
|
||||
- cargo build --target aarch64-unknown-linux-musl --bins -r --config 'package.version="${DRONE_TAG##v}"'
|
||||
- cp target/x86_64-unknown-linux-musl/release/mouse /artifacts/mouse-amd64
|
||||
- cp target/aarch64-unknown-linux-musl/release/mouse /artifacts/mouse-arm64
|
||||
volumes:
|
||||
|
@ -8,6 +8,9 @@ edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[target.aarch64-unknown-linux-musl]
|
||||
linker = "/usr/bin/aarch64-none-elf-gcc"
|
||||
|
||||
[dependencies]
|
||||
clap = { version = "4.4.7", features = ["derive"] }
|
||||
csv = "1.3.0"
|
||||
|
Loading…
Reference in New Issue
Block a user