Posts tagged: ci

cargo-hack is the coolest

cargo-hack is the coolest #Rust testing tool I've learned about so far: . With a few parameters, you can test every feature combination as well as against a version range of Rust versions. My CI is now twice as slow, but I'm actually verifying each feature works, and the MSRV…

Cross-building Windows binaries in Rust

It was surprisingly simple to set up cross-building for #Windows binaries on my #Rust projects in CI: https://gitlab.com/legoktm/rust-ci-pipeline/-/commit/21c61d0412e6636c110fbd0461908c93ff5eda7cAnd the one place I was using Unix-specific code has been caught at compile time \o/Whenever I make new releases, Windows binaries will be uploaded by CI, but in the meantime here's my…

package-lock-lint 0.2.0

Just released 0.2.0 of package-lock-lint: https://lib.rs/crates/package-lock-lint with lockfileVersion 2 (#npm 7) support!It performs basic checks on package-lock.json because they're impossible to review.And I formally proposed enabling it in #Wikimedia CI: https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/Q63LIVSJQAGFDBEFSXN24EMHGQYNTQJR/

Wikimedia CI now supports Rust

Wikimedia CI now supports #rustlang projects! https://phabricator.wikimedia.org/T256827#6396091It's simple for now: it'll run rustfmt, clippy, tests and then generate/publish coverage reports and documentation post-merge. More features/checks can be added as people need and request :)

Last Jenkins run dashboard

New dashboard shows the last jenkins run for a MediaWiki extension/skin: https://tools.wmflabs.org/ci/last_run.htmlI mostly made this to be able to find extensions that fail PHP 7.0 tests while it's still non-voting, and to find gaps in coverage (there's one Wikimedia-deployed extension with no voting tests :().One day I need to unify…