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:
|
default:
|
||||||
image: rust:latest
|
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:
|
compile:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue