File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
ci/cibuildwheel/conan_profiles/Macos Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 7777 CONAN_USER_HOME : " ${{steps.conan-path-script.outputs.result}}"
7878 if : " !contains(matrix.os, 'windows') && steps.cache-conan.outputs.cache-hit != 'true'"
7979 run : |
80+ mkdir -p "$CONAN_USER_HOME/.conan2/profiles"
81+ if [[ "$(uname)" == "Darwin" ]]; then
82+ cp ci/cibuildwheel/conan_profiles/Macos/mac_host_profile.ini "$CONAN_USER_HOME/.conan2/profiles/default"
83+ else
84+ cp ci/cibuildwheel/conan_profiles/Linux/linux_build_profile.ini "$CONAN_USER_HOME/.conan2/profiles/default"
85+ fi
8086 uv run --only-group conan --isolated conan profile detect --exist-ok
8187 uv run --only-group conan --isolated conan install . --build missing -pr:b=default
8288 - uses : actions/github-script@v7
Original file line number Diff line number Diff line change 11{% set compiler, version, compiler_exe = detect_api.detect_default_compiler() %}
2+ {% set os_version = platform.mac_ver()[0].split(' .' ) %}
23[settings]
34arch ={{ detect_api.detect_arch() }}
45build_type =Release
@@ -7,4 +8,4 @@ compiler.cppstd=17
78compiler.libcxx =libc++
89compiler.version ={{version.major}}.{{version.minor}}
910os ={{ detect_api.detect_os() }}
10- os.version ={{ os.getenv(" MACOSX_DEPLOYMENT_TARGET" ) }}
11+ os.version ={{ os.getenv(" MACOSX_DEPLOYMENT_TARGET" , os_version[0] + " . " + os_version[1] ) }}
You can’t perform that action at this time.
0 commit comments