Skip to content

Commit

Permalink
Merge pull request #2787 from wangzhaode/add_macm1_action
Browse files Browse the repository at this point in the history
support pymnn release for m1 mac.
  • Loading branch information
wangzhaode authored Mar 13, 2024
2 parents e367c70 + 3505d15 commit ffde3f4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/pymnn_release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: pymnn_release
on:
push:
paths:
- '.github/workflows/pymnn_release.yml'
tags:
- '*'
jobs:
Expand All @@ -14,6 +16,7 @@ jobs:
- { os: ubuntu-latest, arch: x86_64, build: 'cp*-manylinux*' }
- { os: windows-latest, arch: AMD64, build: 'cp*' }
- { os: macos-latest, arch: x86_64, build: 'cp*' }
- { os: macos-14, arch: arm64, build: 'cp*' }

steps:
- uses: actions/checkout@v3
Expand All @@ -26,7 +29,11 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.12'

- name: install pipx
if: matrix.os == 'macos-14'
run: python -m pip install pipx

- name: Build wheels
uses: pypa/[email protected]
Expand Down

0 comments on commit ffde3f4

Please sign in to comment.