mirror of
https://gitlab.com/hyask/swaysome.git
synced 2026-01-28 02:17:18 +01:00
Add .gitlab-ci.yml
This commit is contained in:
parent
6f72380643
commit
7be68bd830
1 changed files with 17 additions and 0 deletions
17
.gitlab-ci.yml
Normal file
17
.gitlab-ci.yml
Normal 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
|
||||
Loading…
Add table
Reference in a new issue