mirror of
https://github.com/Xahau/xahaud.git
synced 2026-09-27 07:36:52 +00:00
ci: register the detected apple-clang version with conan on macOS
Conan's bundled settings.yml does not yet list apple-clang 21, so the macOS runner failed at profile validation on every branch.
This commit is contained in:
@@ -120,6 +120,13 @@ runs:
|
||||
|
||||
# Add macOS-specific conf if needed
|
||||
if [ "${{ inputs.os }}" = "Macos" ]; then
|
||||
# Conan's built-in settings.yml lags new Xcode releases; register the
|
||||
# detected apple-clang version so the profile validates.
|
||||
cat > ~/.conan2/settings_user.yml <<EOF
|
||||
compiler:
|
||||
apple-clang:
|
||||
version: ["${{ inputs.compiler_version }}"]
|
||||
EOF
|
||||
cat >> ~/.conan2/profiles/default <<EOF
|
||||
|
||||
[conf]
|
||||
|
||||
Reference in New Issue
Block a user