Add .gitlab-ci.yml

This commit is contained in:
Skia 2021-10-16 11:27:12 +00:00 committed by Skia
parent 6f72380643
commit 7be68bd830

17
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,17 @@
image: "rust:latest"
lint:cargo:
stage: build
script:
- rustc --version && cargo --version
- rustup component add rustfmt
- cargo fmt
build:cargo:
stage: build
script:
- rustc --version && cargo --version
- cargo build --release
artifacts:
paths:
- target/release/swaysome