tftsr-devops_investigation/.woodpecker/test.yml
Shaun Arman 1f062948fc fix: use bundled-sqlcipher-vendored-openssl for portable Windows cross-compilation
SQLCipher requires OpenSSL when cross-compiling for Windows with mingw-w64.
bundled-sqlcipher-vendored-openssl compiles OpenSSL from source — no system
OpenSSL needed for any target. Add perl to CI steps (required by OpenSSL build).
2026-03-15 19:17:36 -05:00

40 lines
1.2 KiB
YAML

---
clone:
git:
image: woodpeckerci/plugin-git
network_mode: gogs_default
environment:
- CI_REPO_CLONE_URL=http://gogs_app:3000/sarman/tftsr-devops_investigation.git
pipeline:
rust-fmt-check:
image: rust:1.88-slim
commands:
- rustup component add rustfmt
- cargo fmt --manifest-path src-tauri/Cargo.toml --check
rust-clippy:
image: rust:1.88-slim
commands:
- apt-get update -qq && apt-get install -y -qq libwebkit2gtk-4.1-dev libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev patchelf pkg-config perl
- rustup component add clippy
- cargo clippy --manifest-path src-tauri/Cargo.toml -- -D warnings
rust-tests:
image: rust:1.88-slim
commands:
- apt-get update -qq && apt-get install -y -qq libwebkit2gtk-4.1-dev libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev patchelf pkg-config perl
- cargo test --manifest-path src-tauri/Cargo.toml
frontend-typecheck:
image: node:22-alpine
commands:
- npm ci --legacy-peer-deps
- npx tsc --noEmit
frontend-tests:
image: node:22-alpine
commands:
- npm ci --legacy-peer-deps
- npm run test:run