1
0
Fork 0
mirror of https://gitlab.com/news-flash/article_scraper.git synced 2025-07-06 23:55:32 +02:00

fix libxml CI build

This commit is contained in:
Jan Lukas Gernert 2025-05-04 17:38:46 +02:00
parent f361392c04
commit 06990acbc0

View file

@ -4,12 +4,14 @@ stages:
run-build:
stage: build
image: rust:1.83
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