multiarch test2
Signed-off-by: Jochen Maes <jochen@sejo-it.be>
This commit is contained in:
parent
a1ba52e956
commit
0714ee0d98
@ -22,8 +22,8 @@ steps:
|
|||||||
image: rust:1.73-alpine
|
image: rust:1.73-alpine
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache musl-dev gcc-aarch64-none-elf
|
- apk add --no-cache musl-dev gcc-aarch64-none-elf
|
||||||
- mkdir /artifacts/amd64
|
- mkdir /artifacts/mouse-amd64
|
||||||
- mkdir /artifacts/arm64
|
- mkdir /artifacts/mouse-arm64
|
||||||
- rustup target add x86_64-unknown-linux-musl
|
- rustup target add x86_64-unknown-linux-musl
|
||||||
- rustup target add aarch64-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}"'
|
- cargo build --target x86_64-unknown-linux-musl --bins -r --config 'package.version="${DRONE_TAG##v}"'
|
||||||
@ -41,7 +41,7 @@ steps:
|
|||||||
from_secret: gitea_api_key
|
from_secret: gitea_api_key
|
||||||
base_url: https://gitea.sejo-it.be
|
base_url: https://gitea.sejo-it.be
|
||||||
checksum: sha256
|
checksum: sha256
|
||||||
files: /artifacts/amd64/*
|
files: /artifacts/mouse-amd64
|
||||||
volumes:
|
volumes:
|
||||||
- name: artifacts
|
- name: artifacts
|
||||||
path: /artifacts/
|
path: /artifacts/
|
||||||
@ -55,7 +55,7 @@ steps:
|
|||||||
from_secret: gitea_api_key
|
from_secret: gitea_api_key
|
||||||
base_url: https://gitea.sejo-it.be
|
base_url: https://gitea.sejo-it.be
|
||||||
checksum: sha256
|
checksum: sha256
|
||||||
files: /artifacts/arm64/*
|
files: /artifacts/mouse-arm64
|
||||||
volumes:
|
volumes:
|
||||||
- name: artifacts
|
- name: artifacts
|
||||||
path: /artifacts/
|
path: /artifacts/
|
||||||
|
Loading…
Reference in New Issue
Block a user