Updated ci

This commit is contained in:
2022-10-13 20:55:08 +02:00
parent c10964fdc7
commit 31f8b11201
3 changed files with 41 additions and 61 deletions

21
backend/.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,21 @@
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:
- cd backend
- cargo build --release
- cp target/release/backend_rust ../server
artifacts:
paths:
- server