From 8de1925be6d31d588f1b91a1e4488fd8cbae9ade Mon Sep 17 00:00:00 2001 From: Horizontal42 <75383519+Horizontal42@users.noreply.github.com> Date: Sun, 20 Sep 2026 02:22:50 +0300 Subject: [PATCH] ci: add woodpecker pipeline for build and tests --- .woodpecker.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .woodpecker.yaml diff --git a/.woodpecker.yaml b/.woodpecker.yaml new file mode 100644 index 0000000..5c62777 --- /dev/null +++ b/.woodpecker.yaml @@ -0,0 +1,21 @@ +when: + - event: [push, manual] + +steps: + - name: test-engine + image: node:22-bookworm-slim + commands: + - npm ci + - npx tsc --noEmit + - npx vitest run + + - name: build-tauri-linux + image: rust:1-bookworm + commands: + - apt-get update && apt-get install -y libwebkit2gtk-4.1-dev librsvg2-dev libssl-dev libxdo-dev libayatana-appindicator3-dev + - curl -fsSL https://deb.nodesource.com/setup_22.x | bash - + - apt-get install -y nodejs + - npm ci + - cargo clippy --manifest-path src-tauri/Cargo.toml -- -D warnings + - cargo test --manifest-path src-tauri/Cargo.toml + - npx tauri build --no-bundle