Skip to content

Commit

Permalink
add osx-arm64 variant config file
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Mar 21, 2023
1 parent 890af94 commit 631fb7e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 5 additions & 0 deletions conda_build_config_osx_arm64.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
python:
- 3.9
- "3.10"
- "3.11"
target_platform: osx-arm64

0 comments on commit 631fb7e

Please sign in to comment.