update CI with more phases

Signed-off-by: Ava Hahn <ava@aidanis.online>
This commit is contained in:
Ava Hahn 2023-03-01 11:17:33 -08:00
parent 2439a37aaa
commit a489cb85c9
Signed by untrusted user who does not match committer: affine
GPG key ID: 3A4645B8CF806069

View file

@ -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: