From 9005054c9f5c4b915c97f0cb3b0e47f62614a7a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Fri, 9 Oct 2020 21:06:53 +0200 Subject: [PATCH] add ci for building --- .gitlab-ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..03ae098 --- /dev/null +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file