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:
committed by
Chris Hennes
parent
79d1ecbfd2
commit
ce9bc86908
@@ -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]
|
|
||||||
@@ -90,7 +90,7 @@ requirements:
|
|||||||
|
|
||||||
- if: osx and x86_64
|
- if: osx and x86_64
|
||||||
then:
|
then:
|
||||||
- ${{ stdlib('c') }}
|
- __osx >=10.13
|
||||||
|
|
||||||
- if: build_platform != target_platform
|
- if: build_platform != target_platform
|
||||||
then:
|
then:
|
||||||
|
|||||||
16
package/rattler-build/variants.yaml
Normal file
16
package/rattler-build/variants.yaml
Normal 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"
|
||||||
Reference in New Issue
Block a user