From 0b0befe5b9aa0e4678cf5e466e3ff5f4ea4a9daf Mon Sep 17 00:00:00 2001 From: Radical Date: Sun, 1 Jun 2025 20:00:11 +0200 Subject: [PATCH] ci: lets try this another way --- .woodpecker/build-and-publish.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.woodpecker/build-and-publish.yml b/.woodpecker/build-and-publish.yml index c2225ee..503f06a 100644 --- a/.woodpecker/build-and-publish.yml +++ b/.woodpecker/build-and-publish.yml @@ -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: