tftsr-devops_investigation/.gitea/workflows
Shaun Arman 44ba1bd4e7
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m45s
Test / frontend-typecheck (pull_request) Successful in 1m52s
PR Review Automation / review (pull_request) Successful in 3m54s
Test / rust-fmt-check (pull_request) Successful in 12m41s
Test / rust-clippy (pull_request) Successful in 14m10s
Test / rust-tests (pull_request) Successful in 16m1s
fix(ci): use vendored libsodium build instead of pkg-config
## Problem
Previous approach with SODIUM_USE_PKG_CONFIG=1 still failed:
"libsodium not found via pkg-config or vcpkg"

pkg-config couldn't locate libsodium.pc in CI containers despite
libsodium-dev being installed.

## Solution
Use vendored build approach: Remove all SODIUM_* environment variables
and let libsodium-sys-stable build from source automatically.

## Changes
- **release-beta.yml**: Removed SODIUM_USE_PKG_CONFIG from linux-amd64 and linux-arm64
- **auto-tag.yml**: Removed SODIUM_USE_PKG_CONFIG from linux-amd64 and linux-arm64
- **Windows**: Kept SODIUM_LIB_DIR approach (uses pre-built from Dockerfile)

## Why This Works
libsodium-sys-stable build priority:
1. SODIUM_LIB_DIR (if set) → use pre-built
2. SODIUM_USE_PKG_CONFIG (if set) → use pkg-config
3. Neither set → build from source (vendored) 

Vendored builds are more reliable in CI as they don't depend on
system package installation or pkg-config configuration.

## Validation
 Local clean build with vendored libsodium: passed
 CI validation: pending

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-14 04:48:51 -05:00
..
auto-tag.yml fix(ci): use vendored libsodium build instead of pkg-config 2026-06-14 04:48:51 -05:00
build-images.yml fix: comprehensive trcaa→tftsr conversion and URL corrections 2026-06-05 15:38:29 -05:00
pr-review.yml ci: update pr-review to leverage anthropics/claude-code pattern 2026-06-10 20:26:31 -05:00
release-beta.yml fix(ci): use vendored libsodium build instead of pkg-config 2026-06-14 04:48:51 -05:00
renovate.yaml fix(ci): correct Renovate API endpoint for Gitea 2026-06-09 20:04:55 -05:00
sync-beta.yml feat(ci): auto-sync beta from master after every push 2026-06-13 18:04:37 -05:00
test.yml ci: add retry logic and offline-first caching to npm installs 2026-06-13 23:51:40 -05:00