add gitlab ci

This commit is contained in:
husky 2022-04-10 03:29:55 -07:00
parent 3d058e9997
commit 86872f923d
No known key found for this signature in database
GPG key ID: E00F7FA3381F0647

17
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,17 @@
stages:
- build
rust-latest:
stage: build
image: rust:latest
script:
- cargo build --verbose
- cargo test --verbose
rust-nightly:
stage: build
image: rustlang/rust:nightly
script:
- cargo build --verbose
- cargo test --verbose
allow_failure: true