arch-repro-status/.gitlab-ci.yml

30 lines
435 B
YAML

image: "archlinux:latest"
before_script:
- pacman -Syu --needed --noconfirm rust gcc cargo-audit pkg-config openssl
stages:
- lint
- test
- audit
format:
stage: lint
script:
- cargo fmt --all -- --check
clippy:
stage: lint
script:
- cargo clippy --all -- -D warnings
audit:
stage: audit
script:
- cargo audit
test:
stage: test
script:
- cargo test --all --release --features dumb_terminal