fileserver/backend/.gitlab-ci.yml
2022-10-19 20:05:19 +02:00

23 lines
517 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 build-base
- cd backend
- cargo build --release
- cp target/release/backend_rust ../server
artifacts:
paths:
- server