forked from gorb/backend
This commit is contained in:
parent
6910afd12a
commit
73a3cd2aab
1 changed files with 3 additions and 1 deletions
|
@ -11,11 +11,13 @@ steps:
|
|||
image: rust:bookworm
|
||||
commands:
|
||||
- dpkg --add-architecture arm64
|
||||
- apt-get update -y && apt-get install -y gcc-aarch64-linux-gnu libc6-dev-arm64-cross libssl-dev:arm64 pkg-config-aarch64-linux-gnu
|
||||
- apt-get update -y && apt-get install -y crossbuild-essential-arm64 libssl-dev:arm64
|
||||
- rustup target add aarch64-unknown-linux-gnu
|
||||
- cargo build --target aarch64-unknown-linux-gnu --release
|
||||
environment:
|
||||
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
|
||||
PKG_CONFIG_ALLOW_CROSS: 1
|
||||
PKG_CONFIG_PATH: /usr/aarch64-linux-gnu/lib/pkgconfig
|
||||
- name: container-build-and-publish
|
||||
image: docker
|
||||
commands:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue