Skip to content

Commit

Permalink
Publish macOS arm64 and universal2 wheels (#807)
Browse files Browse the repository at this point in the history
Co-authored-by: Mickaël Schoentgen <contact@tiger-222.fr>
  • Loading branch information
kainjow and BoboTiG authored Jun 26, 2021
1 parent aadb53f commit 6d2f9aa
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
name: Build & Publish

on:
pull_request:
paths:
- ".github/workflows/build-and-publish.yml"
- "setup.*"

workflow_dispatch:
inputs:
branch:
Expand All @@ -40,6 +45,7 @@ jobs:
run: python -m cibuildwheel
env:
CIBW_SKIP: "cp27-* cp35-* pp27-*" # skip 2.7 and 3.5 wheels
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
- uses: actions/upload-artifact@v2
with:
name: python-package-distributions
Expand Down Expand Up @@ -100,8 +106,9 @@ jobs:
name: python-package-distributions
path: dist/
- name: What will we publish?
run: ls dist
run: ls -l dist
- name: Publish
if: github.event.inputs.branch != ''
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ name: Tests

on:
pull_request:
branches: '*'
paths:
- ".github/workflows/tests.yml"
- "requirements-tests.txt"
- "setup.*"
- "src/*"
- "tests/*.py"

jobs:
tests:
Expand Down
3 changes: 2 additions & 1 deletion changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ Changelog

2021-0x-xx • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.2...master>`__

- Thanks to our beloved contributors: @
- Publish macOS ``arm64`` and ``universal2`` wheels. (`#740 <https://github.com/gorakhargosh/watchdog/pull/740>`_)
- Thanks to our beloved contributors: @kainjow, @BoboTiG

2.1.2
~~~~~
Expand Down

0 comments on commit 6d2f9aa

Please sign in to comment.