add ci for building
This commit is contained in:
parent
a2eb0ceb4e
commit
9005054c9f
1 changed files with 16 additions and 0 deletions
16
.gitlab-ci.yml
Normal file
16
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
image: "rust:latest"
|
||||||
|
|
||||||
|
#test:cargo:
|
||||||
|
# script:
|
||||||
|
# - rustc --version && cargo --version # Print version info for debugging
|
||||||
|
# - cargo test --workspace --verbose
|
||||||
|
|
||||||
|
build:cargo:
|
||||||
|
script:
|
||||||
|
- rustc --version && cargo --version # Print version info for debugging
|
||||||
|
- cargo build --release
|
||||||
|
- mkdir dist
|
||||||
|
- cp -vrt dist target/release/gardenserver templates
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- dist
|
Loading…
Reference in a new issue