forked from gorb/backend
ci: lets try this another way
Some checks failed
ci/woodpecker/push/build-and-publish Pipeline failed
Some checks failed
ci/woodpecker/push/build-and-publish Pipeline failed
This commit is contained in:
parent
93ccbcb5f1
commit
0b0befe5b9
1 changed files with 6 additions and 7 deletions
|
@ -6,15 +6,14 @@ steps:
|
|||
- name: rust-build
|
||||
image: rust:bookworm
|
||||
commands:
|
||||
- apt update -y && apt install podman -y
|
||||
- cargo install cross
|
||||
- rustup target add aarch64-unknown-linux-gnu && \
|
||||
apt update && apt install -y \
|
||||
gcc-aarch64-linux-gnu \
|
||||
libc6-dev-arm64-cross
|
||||
- cargo build --release
|
||||
- cross build --target aarch64-unknown-linux-gnu --release
|
||||
- cargo build --target aarch64-unknown-linux-gnu --release
|
||||
environment:
|
||||
CROSS_CONTAINER_ENGINE: podman
|
||||
CROSS_CONTAINER_IN_CONTAINER: true
|
||||
volumes:
|
||||
- /var/run/podman/podman.sock:/var/run/podman/podman.sock
|
||||
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
|
||||
- name: container-build-and-publish
|
||||
image: docker
|
||||
commands:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue