fix(ci): add libsodium to all build environments #106
No reviewers
Labels
No Label
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sarman/tftsr-devops_investigation#106
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/updater-issues"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
tauri-plugin-strongholddepends onlibsodium-sys-stablev1.24.0, which panics at build time if libsodium is not present — it does not compile it from source. None of the builder images or test job apt installs includedlibsodium-dev, breaking every Rust compilation step since Stronghold was added.The Windows Dockerfile already pre-builds libsodium into
/usr/x86_64-w64-mingw32, butSODIUM_LIB_DIRwas never set so the crate could not find it there either.Changes:
Dockerfile.linux-amd64— addlibsodium-devto baked apt layerDockerfile.linux-arm64— addlibsodium-dev(amd64 host) +libsodium-dev:arm64(cross-compile target)test.yml— addlibsodium-devto all three Rust job inline apt installsauto-tag.yml/release-beta.yml— inlineapt-get install libsodium-devin Linux Build steps (bridges the timing race wherebuild-imagesandauto-tagfire simultaneously on master push);SODIUM_LIB_DIR+SODIUM_STATICenv vars for Windows Build stepTest plan
rust-fmt-check,rust-clippy,rust-testsCI checks passbuild-linux-amd64produces.deb/.rpmbuild-linux-arm64produces.deb/.rpmbuild-windows-amd64produces installerbuild-macos-arm64produces.dmg(runner assumed to have libsodium via Homebrew; addbrew install libsodium || trueif not)build-images.yml, trigger a follow-up release run to confirm inline apt installs are redundant