ci: lets try this another way

This commit is contained in:
Radical 2025-06-01 20:00:11 +02:00
parent 93ccbcb5f1
commit 0b0befe5b9

View file

@ -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: