Build and deployment improvements: Makefile: - Native library build targets with ASan support - Cross-platform compilation helpers - Performance benchmark targets - Security scan integration Docker: - secure-prod.Dockerfile: Hardened production image (non-root, minimal surface) - simple.Dockerfile: Lightweight development image Scripts: - build/: Go and native library build scripts, cross-platform builds - ci/: checks.sh, test.sh, verify-paths.sh for validation - benchmarks/: Local performance testing and regression tracking - dev/: Monitoring setup Dependencies: Update to latest stable with security patches Commands: - api-server/main.go: Server initialization updates - data_manager/data_sync.go: Data sync with visibility - errors/main.go: Error handling improvements - tui/: TUI improvements for group management
18 lines
482 B
Bash
Executable file
18 lines
482 B
Bash
Executable file
#!/bin/bash
|
|
# Builds native C++ libraries for Linux x86_64
|
|
# Run on Ubuntu self-hosted runner
|
|
|
|
set -euo pipefail
|
|
|
|
mkdir -p native/build/linux_amd64
|
|
|
|
# Use cmake for native build
|
|
cmake -S native -B native/build/linux_amd64 \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
|
|
cmake --build native/build/linux_amd64 --parallel
|
|
|
|
# Package libs
|
|
mkdir -p bin/native/linux_amd64
|
|
cp native/build/linux_amd64/lib*.so bin/native/linux_amd64/ 2>/dev/null || true
|
|
echo "✓ Native libraries built for Linux x86_64"
|