gardenserver/.gitlab-ci.yml
2021-03-06 11:57:48 +01:00

24 lines
489 B
YAML

image: "rust:latest"
#test:cargo:
# script:
# - rustc --version && cargo --version # Print version info for debugging
# - cargo test --workspace --verbose
cache:
key: gardenserver
paths:
- target/
build:cargo:
stage: build
only:
- tags
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/