mirror of
https://github.com/Xahau/xahaud.git
synced 2026-04-29 15:37:46 +00:00
PROBLEM: Profile was created before cache restore, then immediately overwritten by cached profile. This meant we were using a potentially stale cached profile instead of fresh configuration. SOLUTION: Move profile creation into dependencies action after restore - Dependencies action now takes compiler params as inputs - Profile created AFTER cache restore (overwrites any cached profile) - Ensures fresh profile with correct compiler settings for each job CHANGES: - Dependencies action: Add inputs (os, arch, compiler, compiler_version, cc, cxx) - Dependencies action: Add 'Configure Conan' step after cache restore - Dependencies action: Support both Linux and macOS profile generation - Nix workflow: Remove 'Configure Conan' step, pass compiler params - macOS workflow: Detect compiler version, pass to dependencies action Benefits: ✅ Profile always fresh and correct for current matrix config ✅ Cache still includes .conan.db and other important files ✅ Self-contained dependencies action (easier to understand) ✅ Works for both Linux (with explicit cc/cxx) and macOS (auto-detect)