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:
parent
f361392c04
commit
06990acbc0
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue