From 631fb7e5c2ebf0c80bb45a5b2438a9e1a173eb4c Mon Sep 17 00:00:00 2001 From: Wolf Vollprecht Date: Tue, 21 Mar 2023 09:38:07 +0100 Subject: [PATCH] add osx-arm64 variant config file --- .github/workflows/publish.yml | 7 +++++++ conda_build_config_osx_arm64.yaml | 5 +++++ 2 files changed, 12 insertions(+) create mode 100644 conda_build_config_osx_arm64.yaml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2f3ce0a27..7994e12ad 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -46,3 +46,10 @@ jobs: run: | conda config --set anaconda_upload yes conda build --user microsoft . + - name: Build and Upload macOS Apple Silicon + env: + ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} + if: matrix.os == 'macos-latest' + run: | + conda config --set anaconda_upload yes + conda build --user microsoft . --variant-config-files ./conda_build_config_osx_arm64.yaml \ No newline at end of file diff --git a/conda_build_config_osx_arm64.yaml b/conda_build_config_osx_arm64.yaml new file mode 100644 index 000000000..854405baf --- /dev/null +++ b/conda_build_config_osx_arm64.yaml @@ -0,0 +1,5 @@ +python: + - 3.9 + - "3.10" + - "3.11" +target_platform: osx-arm64 \ No newline at end of file