CI: do a regular clippy check for skia-bindings and a stricter one for skia-safe
@@ -91,10 +91,13 @@ jobs:
echo "##vso[task.setvariable variable=SKIA_BINARIES_KEY;]${SKIA_BINARIES_KEY}"
displayName: Build all targets in skia-safe
+ # Note: Clippy freshness check is independent from the freshness check of the build.
+ # So we check the skia-bindings with the regular set of checks and skia-safe with warnings as errors after that.
- bash: |
set -e
- cd skia-safe && touch src/lib.rs && cargo clippy --release --features "$(features)" --all-targets -- -D warnings
- displayName: Clippy all targets in skia-safe
+ cd skia-bindings && cargo clippy --release --features "$(features)"
+ cd skia-safe && cargo clippy --release --features "$(features)" --all-targets -- -D warnings
+ displayName: Clippy skia-bindings and skia-safe
- script: cd skia-safe && cargo test --release --features "$(features)" -vv
displayName: Test skia-safe
