gardenserver/.gitlab-ci.yml

22 lines
No EOL
479 B
YAML

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