update CI with more phases
Signed-off-by: Ava Hahn <ava@aidanis.online>
This commit is contained in:
parent
2439a37aaa
commit
a489cb85c9
1 changed files with 14 additions and 0 deletions
|
|
@ -1,6 +1,20 @@
|
|||
default:
|
||||
image: rust:latest
|
||||
|
||||
fmt:
|
||||
stage: lint
|
||||
script:
|
||||
- rustfmt --check tests/*
|
||||
- rustfmt --check src/*.rs
|
||||
- rustfmt --check src/stl/*
|
||||
- rustfmt --check src/bin/*
|
||||
|
||||
lint:
|
||||
stage: lint
|
||||
script:
|
||||
- cargo clippy
|
||||
allow_failure: true
|
||||
|
||||
compile:
|
||||
stage: build
|
||||
script:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue