mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-10-01 01:26:08 -04:00
initial CI attempt
This commit is contained in:
parent
e0a52bceb1
commit
311dc908fe
27
.gitlab-ci.yml
Normal file
27
.gitlab-ci.yml
Normal file
@ -0,0 +1,27 @@
|
||||
stages:
|
||||
- clippy
|
||||
- test
|
||||
|
||||
############# Clippy Lint
|
||||
clippy:
|
||||
stage: clippy
|
||||
image: rust:latest
|
||||
tags:
|
||||
- linux
|
||||
- amd64
|
||||
before_script:
|
||||
- rustup component add clippy
|
||||
script:
|
||||
# - RUSTFLAGS="-D warnings" RUST_BACKTRACE=1 cargo clippy
|
||||
- RUST_BACKTRACE=1 cargo clippy
|
||||
|
||||
############# Unit Testing
|
||||
test_linux_amd64:
|
||||
stage: test
|
||||
image: rust:latest
|
||||
tags:
|
||||
- linux
|
||||
- amd64
|
||||
script:
|
||||
# - RUSTFLAGS="-D warnings" RUST_BACKTRACE=1 cargo test -- --nocapture
|
||||
- RUST_BACKTRACE=1 cargo test -- --nocapture
|
Loading…
Reference in New Issue
Block a user