From 8e4ac9b15d06a5c31294c8bdf5935139fa278ea3 Mon Sep 17 00:00:00 2001 From: Thomas-Otavio Peulen Date: Sun, 11 Feb 2024 16:03:30 +0100 Subject: [PATCH] Set SDK on macOS --- .github/workflows/conda-build.yml | 4 ++++ .github/workflows/conda-release.yml | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml index 63d22067..802494be 100644 --- a/.github/workflows/conda-build.yml +++ b/.github/workflows/conda-build.yml @@ -39,6 +39,10 @@ jobs: conda config --show printenv | sort + - name: "Set SDK on MacOS (if needed)" + if: startsWith(matrix.os, 'macos') + run: tools/install_macos_sdk.sh + - name: Build Conda Package shell: bash -el {0} run: | diff --git a/.github/workflows/conda-release.yml b/.github/workflows/conda-release.yml index 2b517139..c544fd33 100644 --- a/.github/workflows/conda-release.yml +++ b/.github/workflows/conda-release.yml @@ -39,11 +39,16 @@ jobs: conda config --show printenv | sort + - name: "Set SDK on MacOS (if needed)" + if: startsWith(matrix.os, 'macos') + run: tools/install_macos_sdk.sh + - name: Build Conda Package shell: bash -el {0} run: | mamba install conda-build boa anaconda-client cd conda-recipe + # Use older conda_build_config -> boost-cpp 1.78 curl -sLO https://raw.githubusercontent.com/conda-forge/conda-forge-pinning-feedstock/084b098a28a7a66e9a0967d156bc55b9ebfc6726/recipe/conda_build_config.yaml # curl -sLO https://github.com/conda-forge/conda-forge-pinning-feedstock/raw/main/recipe/conda_build_config.yaml