gardenserver/.gitlab-ci.yml

22 lines
479 B
YAML
Raw Normal View History

2020-10-09 21:06:53 +02:00
image: "rust:latest"
#test:cargo:
# script:
# - rustc --version && cargo --version # Print version info for debugging
# - cargo test --workspace --verbose
2020-10-09 21:10:49 +02:00
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- target/
2020-10-09 21:06:53 +02:00
build:cargo:
2020-10-09 21:10:49 +02:00
stage: build
2020-10-09 21:06:53 +02:00
script:
- rustc --version && cargo --version # Print version info for debugging
- cargo build --release
- mkdir dist
- cp -vrt dist target/release/gardenserver templates
artifacts:
paths:
2020-10-09 21:10:49 +02:00
- dist/