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).
This commit is contained in:
Shaun Arman 2026-03-15 19:17:36 -05:00
parent 250bd96285
commit 1f062948fc
3 changed files with 5 additions and 5 deletions

View File

@ -23,7 +23,7 @@ pipeline:
when:
event: tag
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 curl
- 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 curl perl
- curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
- apt-get install -y nodejs
- npm ci --legacy-peer-deps
@ -44,7 +44,7 @@ pipeline:
when:
event: tag
commands:
- apt-get update -qq && apt-get install -y -qq mingw-w64 curl nsis
- apt-get update -qq && apt-get install -y -qq mingw-w64 curl nsis perl
- curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
- apt-get install -y nodejs
- npm ci --legacy-peer-deps

View File

@ -16,14 +16,14 @@ pipeline:
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
- 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
- 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:

View File

@ -19,7 +19,7 @@ tauri-plugin-shell = "2"
tauri-plugin-http = "2"
tauri-plugin-cli = "2"
tauri-plugin-updater = "2"
rusqlite = { version = "0.31", features = ["bundled-sqlcipher"] }
rusqlite = { version = "0.31", features = ["bundled-sqlcipher-vendored-openssl"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["full"] }