mirror of
https://gitlab.com/news-flash/article_scraper.git
synced 2025-07-06 23:55:32 +02:00
17 lines
401 B
YAML
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
|