File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 release :
55 types : [published]
66 workflow_dispatch :
7+ push :
8+ branches :
9+ - main
10+ pull_request :
11+ branches :
12+ - main
13+
714jobs :
815 build_wheels :
916 name : Build wheels on ${{ matrix.os }}
@@ -44,13 +51,15 @@ jobs:
4451 run : |
4552 python -c "import os, sys; sys.path.append(os.path.join(os.getcwd(), 'src')); from webview._webview_ffi import _be_sure_libraries; _be_sure_libraries()"
4653
47- - name : Build wheels
54+ - name : Build
55+ # https://github.com/pypa/cibuildwheel
4856 uses : pypa/cibuildwheel@v2.16.5
4957 env :
50- CIBW_BUILD : " cp38-* cp39-* cp310-* cp311-* cp312-* cp313-*"
58+ CIBW_BUILD : " cp310-* cp311-* cp312-* cp313-* cp314 -*"
5159 CIBW_ARCHS_MACOS : " x86_64 arm64"
52- CIBW_ARCHS_LINUX : " x86_64"
53- CIBW_ARCHS_WINDOWS : " AMD64"
60+ CIBW_ARCHS_LINUX : " x86_64 aarch64"
61+ # https://cibuildwheel.pypa.io/en/stable/options/#archs
62+ CIBW_ARCHS_WINDOWS : " AMD64 ARM64"
5463 CIBW_SKIP : " *-musllinux*"
5564 # CIBW_BEFORE_BUILD_LINUX: "yum install -y webkit2gtk3-devel"
5665 # CIBW_BUILD_VERBOSITY: 1
8695 cp dist/*/*.whl final_dist/
8796
8897 - name : Publish to PyPI
98+ if : github.event_name == 'release'
8999 env :
90100 TWINE_USERNAME : __token__
91101 TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments