forked from gorb/backend
This commit is contained in:
parent
9116ce3909
commit
dbf1504e7c
2 changed files with 6 additions and 10 deletions
|
@ -4,16 +4,12 @@ when:
|
|||
|
||||
steps:
|
||||
- name: rust-build
|
||||
image: rust:bookworm
|
||||
image: rust:alpine
|
||||
commands:
|
||||
- rustup target add aarch64-unknown-linux-gnu
|
||||
- dpkg --add-architecture arm64
|
||||
- apt-get update -y && apt-get install -y \
|
||||
libssl3:arm64
|
||||
- rustup target add aarch64-unknown-linux-musl
|
||||
- apk add openssl-dev musl-dev
|
||||
- cargo build --release
|
||||
- cargo build --target aarch64-unknown-linux-gnu --release
|
||||
environment:
|
||||
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
|
||||
- cargo build --target aarch64-unknown-linux-musl --release
|
||||
- name: container-build-and-publish
|
||||
image: docker
|
||||
commands:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue