23 lines
506 B
YAML
23 lines
506 B
YAML
build_backend_glibc:
|
|
stage: build
|
|
image: rust:bullseye
|
|
script:
|
|
- cd backend
|
|
- cargo build --release
|
|
- cp target/release/backend_rust ../server
|
|
artifacts:
|
|
paths:
|
|
- server
|
|
|
|
build_backend_muslc:
|
|
stage: build
|
|
image: rust:alpine
|
|
script:
|
|
- apk add openssl-dev pkgconf musl-dev
|
|
- cd backend
|
|
- cargo build --release
|
|
- cp target/release/backend_rust ../server
|
|
artifacts:
|
|
paths:
|
|
- server
|