1
0
Fork 0
mirror of https://gitlab.com/news-flash/article_scraper.git synced 2025-07-07 08:05:31 +02:00
article_scraper/.gitlab-ci.yml
2025-05-04 17:38:46 +02:00

17 lines
401 B
YAML

stages:
- build
run-build:
stage: build
image: rust:1.86
before_script:
- rustup component add rustfmt
- rustup component add clippy
- export LIBXML2=$(pkg-config libxml-2.0 --variable=libdir)/libxml2.so
script:
- rustc --version && cargo --version
- echo $LIBXML2
- cargo fmt -- --check
- cargo clippy --all-targets --all-features -- -D warnings
- cargo build --release