CI: fix macOS on x86_64 weekly builds

Despite claims of compatibility with 'conda_build_config.yaml', rattler-build does not support
all of the necessary capabilities to set the minimum macOS version. Converting the
'conda_build_config.yaml' to the rattler-build 'variants.yaml' corrects the issue.
This commit is contained in:
Jacob Oursland
2025-07-24 22:17:18 -07:00
committed by Chris Hennes
parent 79d1ecbfd2
commit ce9bc86908
3 changed files with 17 additions and 10 deletions

View File

@@ -1,9 +0,0 @@
c_compiler: # [win]
- vs2022 # [win]
cxx_compiler: # [win]
- vs2022 # [win]
c_stdlib_version: # [osx and x86_64]
- "10.13" # [osx and x86_64]
MACOSX_DEPLOYMENT_TARGET: # [osx and x86_64]
- "10.13" # [osx and x86_64]

View File

@@ -90,7 +90,7 @@ requirements:
- if: osx and x86_64
then:
- ${{ stdlib('c') }}
- __osx >=10.13
- if: build_platform != target_platform
then:

View File

@@ -0,0 +1,16 @@
c_compiler:
- if: win
then: vs2022
cxx_compiler:
- if: win
then: vs2022
c_stdlib_version:
- if: osx and x86_64
then: "10.13"
MACOSX_SDK_VERSION:
- if: osx and x86_64
then: "10.13"
MACOSX_DEPLOYMENT_TARGET:
- if: osx and x86_64
then: "10.13"