-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use windows 2019 to build wheels for 64-bit windows (#65)
- Loading branch information
1 parent
dca5e8a
commit 3bb113a
Showing
2 changed files
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,20 +20,27 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [windows-latest] | ||
python-version: ["cp37", "cp38", "cp39", "cp310", "cp311", "cp312"] | ||
os: [windows-2019] | ||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/ | ||
# for a list of versions | ||
- name: Setup Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_BUILD: "${{ matrix.python-version}}-* " | ||
CIBW_SKIP: "cp27-* cp35-* *-win32 pp* *-musllinux*" | ||
CIBW_BUILD_VERBOSITY: 3 | ||
shell: bash | ||
run: | | ||
pip install setuptools wheel | ||
python3 setup.py bdist_wheel | ||
ls -lh ./dist/ | ||
mv dist wheelhouse | ||
- name: Display wheels | ||
shell: bash | ||
|
@@ -42,6 +49,7 @@ jobs: | |
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: ${{ matrix.os }}-${{ matrix.python-version }} | ||
path: ./wheelhouse/*.whl | ||
|
||
- name: Publish wheels to PyPI | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters