fileserver/backend/.gitlab-ci.yml

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