veilid/.gitlab-ci.yml

32 lines
747 B
YAML
Raw Normal View History

variables:
GIT_SUBMODULE_STRATEGY: recursive
2021-11-29 15:41:42 -05:00
BUILD_IMAGE_LINUX_AMD64: $CI_REGISTRY/veilid/ci-cd/veilid-build-linux-amd64:latest
2021-11-24 16:49:13 -05:00
stages:
- clippy
- test
############# Clippy Lint
clippy:
stage: clippy
2021-11-29 15:41:42 -05:00
image: ${BUILD_IMAGE_LINUX_AMD64}
2021-11-24 16:49:13 -05:00
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
2021-11-29 15:41:42 -05:00
image: ${BUILD_IMAGE_LINUX_AMD64}
2021-11-24 16:49:13 -05:00
tags:
- linux
- amd64
script:
2021-12-05 10:53:52 -05:00
# - RUSTFLAGS="-D warnings" RUST_BACKTRACE=1 dbus-run-session -- cargo test -- --nocapture
- RUST_BACKTRACE=1 dbus-run-session -- cargo test -- --nocapture