diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index 3f72c4cb6..76f847665 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -38,4 +38,14 @@ jobs: env: BINSTAR_TOKEN: $(BINSTAR_TOKEN) FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) - STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) \ No newline at end of file + STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) + - script: | + if [ -d build_artifacts ]; then + echo "##vso[task.setVariable variable=CONDA_BLD_DIR_EXISTS]true" + fi + displayName: Check for conda build artifacts + condition: succeededOrFailed() + + - publish: build_artifacts/ + artifact: conda_artifacts_$(CONFIG)_$(system.JobId) + condition: eq(variables.CONDA_BLD_DIR_EXISTS, 'true') \ No newline at end of file diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml index 2be27d43f..32d251e23 100755 --- a/.azure-pipelines/azure-pipelines-osx.yml +++ b/.azure-pipelines/azure-pipelines-osx.yml @@ -29,4 +29,14 @@ jobs: env: BINSTAR_TOKEN: $(BINSTAR_TOKEN) FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) - STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) \ No newline at end of file + STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) + - script: | + if [ -d /Users/runner/miniforge3/conda-bld/ ]; then + echo "##vso[task.setVariable variable=CONDA_BLD_DIR_EXISTS]true" + fi + displayName: Check for conda build artifacts + condition: succeededOrFailed() + + - publish: /Users/runner/miniforge3/conda-bld/ + artifact: conda_artifacts_$(CONFIG)_$(system.JobId) + condition: eq(variables.CONDA_BLD_DIR_EXISTS, 'true') \ No newline at end of file diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml index ab8cb2ba0..f4669552d 100755 --- a/.azure-pipelines/azure-pipelines-win.yml +++ b/.azure-pipelines/azure-pipelines-win.yml @@ -92,6 +92,16 @@ jobs: env: PYTHONUNBUFFERED: 1 condition: not(contains(variables['CONFIG'], 'vs2008')) + - script: | + if exist $(CONDA_BLD_PATH)\\ ( + echo ##vso[task.setVariable variable=CONDA_BLD_DIR_EXISTS]true + ) + displayName: Check for conda build artifacts + condition: succeededOrFailed() + + - publish: $(CONDA_BLD_PATH)\\ + artifact: conda_artifacts_$(CONFIG)_$(system.JobId) + condition: eq(variables.CONDA_BLD_DIR_EXISTS, 'true') - script: | set "FEEDSTOCK_NAME=%BUILD_REPOSITORY_NAME:*/=%" call activate base diff --git a/.ci_support/osx_64_target_platformosx-64.yaml b/.ci_support/osx_64_target_platformosx-64.yaml index 3f3ac48e4..4aac7e836 100644 --- a/.ci_support/osx_64_target_platformosx-64.yaml +++ b/.ci_support/osx_64_target_platformosx-64.yaml @@ -1,5 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '10.9' +MACOSX_SDK_VERSION: +- '10.15' bzip2: - '1' c_compiler: diff --git a/.ci_support/osx_arm64_target_platformosx-arm64.yaml b/.ci_support/osx_arm64_target_platformosx-arm64.yaml index 655fd1ab4..c67fe5078 100644 --- a/.ci_support/osx_arm64_target_platformosx-arm64.yaml +++ b/.ci_support/osx_arm64_target_platformosx-arm64.yaml @@ -1,5 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '11.0' +MACOSX_SDK_VERSION: +- '10.15' bzip2: - '1' c_compiler: diff --git a/conda-forge.yml b/conda-forge.yml index 48e766aea..588541338 100644 --- a/conda-forge.yml +++ b/conda-forge.yml @@ -5,3 +5,5 @@ max_py_ver: '38' max_r_ver: '35' provider: {linux_aarch64: native, linux_ppc64le: native, osx: azure, win: azure} test_on_native_only: true +azure: + store_build_artifacts: true \ No newline at end of file diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml index 25a28eacb..f246f4271 100644 --- a/recipe/conda_build_config.yaml +++ b/recipe/conda_build_config.yaml @@ -6,3 +6,5 @@ cxx_compiler: # [win] - vs2017 # [win] vc: # [win] - 14.1 # [win] +MACOSX_SDK_VERSION: # [osx and x86] +- '10.15' # [osx and x86]